SvgPen

Inheritance: java.lang.Object

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

public class SvgPen implements IPen

Represents pen for SvgCanvas .

Constructors

Constructor Description
SvgPen(System.Drawing.Color color, float thickness) Initializes new instance of class SvgPen .

Methods

Method Description
dispose() Disposes pen and internal GDI resources.
equals(Object arg0)
getClass()
getColor() Gets solid color of pen.
getDashStyle() Gets dash style of pen.
getSvgColor() Gets color SVG wrapper.
getThickness() Gets thickness of pen in pixels.
hashCode()
notify()
notifyAll()
setDashStyle(PenDashStyle value) Gets dash style of pen.
toString()
tryGetDashPattern() Gets dash pattern for SVG.
wait()
wait(long arg0)
wait(long arg0, int arg1)

SvgPen(System.Drawing.Color color, float thickness)

public SvgPen(System.Drawing.Color color, float thickness)

Initializes new instance of class SvgPen .

Parameters:

Parameter Type Description
color com.aspose.ms.System.Drawing.Color Solid color of pen.
thickness float Thickness of pen in pixels.

dispose()

public void dispose()

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

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

getDashStyle()

public PenDashStyle getDashStyle()

Gets dash style of pen.

Returns: PenDashStyle

getSvgColor()

public SvgColor getSvgColor()

Gets color SVG wrapper.

Returns: SvgColor

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:

Parameter Type Description
value PenDashStyle

toString()

public String toString()

Returns: java.lang.String

tryGetDashPattern()

public float[] tryGetDashPattern()

Gets dash pattern for SVG.

Returns: float[] -

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