Packages

 

com.aspose.imaging

Interfaces

Classes

Exceptions

com.aspose.imaging

Class TransparencySupporter

  • Direct Known Subclasses:
    Pen


    public class TransparencySupporter
    extends Object

    The object supporting transparency.

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

        Returns:
        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.

        Parameters:
        value - The opacity value.