Packages

 

com.aspose.imaging.brushes

Class SolidBrush

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable, Closeable, AutoCloseable


    public final class SolidBrush
    extends Brush

    Solid brush is intended for drawing continiously with specific color. This class cannot be inherited.

    • Constructor Detail

      • SolidBrush

        public SolidBrush()

        Initializes a new instance of the SolidBrush class.

      • SolidBrush

        public SolidBrush(Color color)

        Initializes a new instance of the SolidBrush class.

        Parameters:
        color - The solid brush color.
    • Method Detail

      • getColor

        public Color getColor()

        Gets or sets the brush color.

        Value: The brush color.
      • setColor

        public void setColor(Color value)

        Gets or sets the brush color.

        Value: The brush color.