GraphicsBrush

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.barcode.drawing.IBrush

public class GraphicsBrush implements IBrush

Represents brush for GraphicsCanvas.

Constructors

Constructor Description
GraphicsBrush(System.Drawing.Color color) Initializes new instance of class GraphicsBrush.

Methods

Method Description
dispose() Disposes brush and internal GDI resources.
equals(Object arg0)
getClass()
getColor() Gets solid color of brush.
getDrawingBrush() Gets internal GDI solid brush.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

GraphicsBrush(System.Drawing.Color color)

public GraphicsBrush(System.Drawing.Color color)

Initializes new instance of class GraphicsBrush.

Parameters:

Parameter Type Description
color com.aspose.ms.System.Drawing.Color Solid color of brush.

dispose()

public void dispose()

Disposes brush and internal GDI resources.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getColor()

public System.Drawing.Color getColor()

Gets solid color of brush.

Returns: com.aspose.ms.System.Drawing.Color

getDrawingBrush()

public System.Drawing.SolidBrush getDrawingBrush()

Gets internal GDI solid brush.

Returns: com.aspose.ms.System.Drawing.SolidBrush

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int