GraphicsPen

Inheritance: java.lang.Object

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

public class GraphicsPen implements IPen

Represents pen for GraphicsCanvas.

Constructors

ConstructorDescription
GraphicsPen(int color, float thickness)Initia;ozes new instance of class GraphicsPen.

Methods

MethodDescription
dispose()Disposes ren and internal GDI resources.
equals(Object arg0)
getClass()
getColor()Gets solid color of pen.
getDashStyle()Gets dash style of pen.
getDrawingPen()
getThickness()Gets thickness of pen in pixels.
hashCode()
notify()
notifyAll()
setDashStyle(PenDashStyle value)Gets dash style of pen.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

GraphicsPen(int color, float thickness)

public GraphicsPen(int color, float thickness)

Initia;ozes new instance of class GraphicsPen.

Parameters:

ParameterTypeDescription
colorintSolid color of pen.
thicknessfloatThickness of pen in pixels.

dispose()

public void dispose()

Disposes ren 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 pen.

Returns: int

getDashStyle()

public PenDashStyle getDashStyle()

Gets dash style of pen.

Returns: com.aspose.barcode.drawing.PenDashStyle

getDrawingPen()

public Paint getDrawingPen()

Returns: android.graphics.Paint

getThickness()

public float getThickness()

Gets thickness of pen in pixels.

Returns: float

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setDashStyle(PenDashStyle value)

public void setDashStyle(PenDashStyle value)

Gets dash style of pen.

Parameters:

ParameterTypeDescription
valuecom.aspose.barcode.drawing.PenDashStyle

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