Packages

 

com.aspose.cad

Class TransparencySupporter



  • public class TransparencySupporter
    extends Object

    The object supporting transparency.

    • Constructor Detail

      • TransparencySupporter

        public TransparencySupporter()
    • Method Detail

      • 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:
        The opacity value.
      • setOpacity

        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:
        value - The opacity value.