Skip to main content

PieCenterTextLabel Class

Declaration

public class PieCenterTextLabel
extends PieCenterLabel

Inherited Members

java.lang.Object.equals(java.lang.Object)(Object)
java.lang.Object.hashCode()()
java.lang.Object.notify()()
java.lang.Object.notifyAll()()
java.lang.Object.toString()()
java.lang.Object.wait()()
java.lang.Object.wait(long)(long)
java.lang.Object.wait(long, int)(long,int)

Inheritance

Constructors

PieCenterTextLabel() Constructor

Declaration

public PieCenterTextLabel()

PieCenterTextLabel(String) Constructor

Declaration

public PieCenterTextLabel(String textPattern)

Parameters

Name Type
textPattern String

Methods

getAutoSizeText() Method

Declaration

public boolean getAutoSizeText()

Returns

Type
boolean

getContentRatio() Method

Declaration

public float getContentRatio()

Returns

Type
float

getStyle() Method

Declaration

public PieCenterTextLabelStyle getStyle()

Returns

Type
PieCenterTextLabelStyle

getTextPattern() Method

Declaration

public String getTextPattern()

Returns

Type
String

setAutoSizeText(boolean) Method

Declaration

public void setAutoSizeText(boolean autoSizeText)

Parameters

Name Type
autoSizeText boolean

setContentRatio(float) Method

Declaration

public void setContentRatio(float contentRatio)

Parameters

Name Type
contentRatio float

setStyle(PieCenterTextLabelStyle) Method

Declaration

public void setStyle(PieCenterTextLabelStyle style)

Parameters

Name Type
style PieCenterTextLabelStyle

setTextPattern(String) Method

Declaration

public void setTextPattern(String textPattern)

Parameters

Name Type
textPattern String