Search
Pen Methods
 


 Public Methods

  Name Description

applyTo

Overloaded.  

clone

Creates a copy of this pen.

getBrush

Gets the color of this pen.

getCap

 

getColor

Gets the color of this pen.

getDashStyle

Gets the dash style of this pen.

getEffectiveWidth

Gets the effective width of the lines drawn with this pen once it has been applied to a Graphics2D object.

getLineJoin

Gets the line join.

getWidth

Gets the width of the lines drawn with this pen.

readExternal

Implements Externalizable.

setBrush

Gets the color of this pen.

setCap

 

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.

toColor

 

writeExternal

Implements Externalizable.

 See Also