The requested page is not available for the requested platform. You are viewing the content for Default platform.

PieCenterImageLabel Class

Declaration

public class PieCenterImageLabel
extends PieCenterLabel

Inheritance

Inherited Members

java.lang.Object.equals(java.lang.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)
java.lang.Object.wait(long, int)

Constructors

PieCenterImageLabel() Constructor

Declaration

public PieCenterImageLabel()

PieCenterImageLabel(Bitmap) Constructor

Declaration

public PieCenterImageLabel(Bitmap bitmap)

Parameters

Name Type Description
bitmap android.graphics.Bitmap

PieCenterImageLabel(Drawable) Constructor

Declaration

public PieCenterImageLabel(Drawable drawable)

Parameters

Name Type Description
drawable android.graphics.drawable.Drawable

PieCenterImageLabel(Icon) Constructor

Declaration

public PieCenterImageLabel(Icon icon)

Parameters

Name Type Description
icon android.graphics.drawable.Icon

PieCenterImageLabel(int) Constructor

Declaration

public PieCenterImageLabel(int resId)

Parameters

Name Type Description
resId int

Methods

getContentRatio() Method

Declaration

public float getContentRatio()

Returns

Type Description
float

getScaleType() Method

Declaration

public PieCenterImageLabelScaleType getScaleType()

Returns

Type Description
PieCenterImageLabelScaleType

setContentRatio(float) Method

Declaration

public void setContentRatio(float contentRatio)

Parameters

Name Type Description
contentRatio float

setImageBitmap(Bitmap) Method

Declaration

public void setImageBitmap(Bitmap bitmap)

Parameters

Name Type Description
bitmap android.graphics.Bitmap

setImageDrawable(Drawable) Method

Declaration

public void setImageDrawable(Drawable drawable)

Parameters

Name Type Description
drawable android.graphics.drawable.Drawable

setImageIcon(Icon) Method

Declaration

public void setImageIcon(Icon icon)

Parameters

Name Type Description
icon android.graphics.drawable.Icon

setImageResource(int) Method

Declaration

public void setImageResource(int resId)

Parameters

Name Type Description
resId int

setScaleType(PieCenterImageLabelScaleType) Method

Declaration

public void setScaleType(PieCenterImageLabelScaleType scaleType)

Parameters

Name Type Description
scaleType PieCenterImageLabelScaleType