com.aspose.imaging
Class TransparencySupporter

java.lang.Object
  extended by com.aspose.imaging.TransparencySupporter
Direct Known Subclasses:
Pen

public class TransparencySupporter
extends java.lang.Object

The object supporting transparency.


Constructor Summary
TransparencySupporter()
           
 
Method Summary
 float getOpacity()
           Gets the object's opacity.
 void setOpacity(float value)
           Sets the object's opacity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransparencySupporter

public TransparencySupporter()
Method Detail

getOpacity

public float getOpacity()

Gets 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.

Value: The opacity value.


setOpacity

public void setOpacity(float value)

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.

Value: The opacity value.