TransparencySupporter

The object supporting transparency.

Constructors

ConstructorDescription
TransparencySupporter()

Methods

MethodDescription
getOpacity()Gets or sets the object’s opacity. The value should be between 0 and 1. Value of 0 means that object is fully visible, value of 1 means the object is fully opaque.
setOpacity(float value)Gets or sets the object’s opacity. The value should be between 0 and 1. Value of 0 means that object is fully visible, value of 1 means the object is fully opaque.

TransparencySupporter()

public TransparencySupporter()

getOpacity()

public float getOpacity()

Gets or sets the object’s opacity. The value should be between 0 and 1. Value of 0 means that object is fully visible, value of 1 means the object is fully opaque.

Returns: float - The opacity value.

setOpacity(float value)

public void setOpacity(float value)

Gets or sets the object’s opacity. The value should be between 0 and 1. Value of 0 means that object is fully visible, value of 1 means the object is fully opaque.

Parameters:

ParameterTypeDescription
valuefloatThe opacity value.