Retrieves the style of this pen.
public final int getStyle()
Returns the pen style, which is one of the enumeration constants defined in the PenStyle class.