Packages

 

com.aspose.imaging

Interfaces

Classes

com.aspose.imaging

Class Brush

    • Constructor Detail

      • Brush

        public Brush()
    • Method Detail

      • getOpacity

        public float getOpacity()

        Gets the brush opacity. The value should be between 0 and 1. Value of 0 means that brush is fully visible, value of 1 means the brush is fully opaque.

        Returns:
        The brush opacity value.
      • setOpacity

        public void setOpacity(float value)

        Sets the brush opacity. The value should be between 0 and 1. Value of 0 means that brush is fully visible, value of 1 means the brush is fully opaque.

        Parameters:
        value - The brush opacity value.
      • deepClone

        public Brush deepClone()

        Creates a new deep clone of the current Brush.

        Returns:
        A new Brush which is the deep clone of this Brush instance.