GraphicsBrush

Inheritance: java.lang.Object

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

public class GraphicsBrush implements IBrush

Represents brush for GraphicsCanvas.

Constructors

ConstructorDescription
GraphicsBrush(int color)Initializes new instance of class GraphicsBrush.

Methods

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

GraphicsBrush(int color)

public GraphicsBrush(int color)

Initializes new instance of class GraphicsBrush.

Parameters:

ParameterTypeDescription
colorintSolid color of brush.

dispose()

public void dispose()

Disposes brush and internal GDI resources.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getColor()

public int getColor()

Gets solid color of brush.

Returns: int

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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int