JPlanner Programmer's Guide
Pen Members
Constructors Methods
 


Pen objects are used to stroke the outlines of geometrical shapes.

The following tables list the members exposed by the Pen type.

 Public Constructors

  Name Description

Pen

Overloaded. Initializes a new instance of the Pen class.

 Public Methods

  Name Description

clone

Creates a copy of this pen.

dispose

Disposes the graphics resources associated with the pen, if any.

getAlignment

Gets the pen alignment.

getBrush

Gets the color of this pen.

getColor

Gets the color of this pen.

getDashStyle

Gets the dash style of this pen.

getLineJoin

Gets the line join.

getWidth

Gets the width of the lines drawn with this pen.

readExternal

Externalizable.readExternal implementation.

setAlignment

Sets the pen alignment.

setColor

Sets the color of this pen.

setDashStyle

Sets the dash style of this pen.

setLineJoin

Sets the line join.

setWidth

Sets what the width of the lines drawn with this pen should be.

writeExternal

Externalizable.writeExternal implementation.

 See Also

Pen Class
com.mindfusion.drawing Namespace