Skip to main content

PieCenterImageLabel Class

Declaration

public class PieCenterImageLabel
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

PieCenterImageLabel() Constructor

Declaration

public PieCenterImageLabel()

PieCenterImageLabel(Bitmap) Constructor

Declaration

public PieCenterImageLabel(Bitmap bitmap)

Parameters

Name Type
bitmap android.graphics.Bitmap

PieCenterImageLabel(Drawable) Constructor

Declaration

public PieCenterImageLabel(Drawable drawable)

Parameters

Name Type
drawable android.graphics.drawable.Drawable

PieCenterImageLabel(Icon) Constructor

Declaration

public PieCenterImageLabel(Icon icon)

Parameters

Name Type
icon android.graphics.drawable.Icon

PieCenterImageLabel(int) Constructor

Declaration

public PieCenterImageLabel(int resId)

Parameters

Name Type
resId int

Methods

getContentRatio() Method

Declaration

public float getContentRatio()

Returns

Type
float

getScaleType() Method

Declaration

public PieCenterImageLabelScaleType getScaleType()

Returns

Type
PieCenterImageLabelScaleType

setContentRatio(float) Method

Declaration

public void setContentRatio(float contentRatio)

Parameters

Name Type
contentRatio float

setImageBitmap(Bitmap) Method

Declaration

public void setImageBitmap(Bitmap bitmap)

Parameters

Name Type
bitmap android.graphics.Bitmap

setImageDrawable(Drawable) Method

Declaration

public void setImageDrawable(Drawable drawable)

Parameters

Name Type
drawable android.graphics.drawable.Drawable

setImageIcon(Icon) Method

Declaration

public void setImageIcon(Icon icon)

Parameters

Name Type
icon android.graphics.drawable.Icon

setImageResource(int) Method

Declaration

public void setImageResource(int resId)

Parameters

Name Type
resId int

setScaleType(PieCenterImageLabelScaleType) Method

Declaration

public void setScaleType(PieCenterImageLabelScaleType scaleType)

Parameters

Name Type
scaleType PieCenterImageLabelScaleType