Package org.apache.poi.hwmf.record
Class HwmfPenStyle
java.lang.Object
org.apache.poi.hwmf.record.HwmfPenStyle
- All Implemented Interfaces:
Cloneable
The 16-bit PenStyle Enumeration is used to specify different types of pens
that can be used in graphics operations.
Various styles can be combined by using a logical OR statement, one from
each subsection of Style, EndCap, Join, and Type (Cosmetic).
The defaults in case the other values of the subsection aren't set are
solid, round end caps, round joins and cosmetic type.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
static enum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a new object of the same class and with the same contents as this object.boolean
The pen sets every other pixel (this style is applicable only for cosmetic pens).static HwmfPenStyle
valueOf
(int flag)
-
Constructor Details
-
HwmfPenStyle
public HwmfPenStyle()
-
-
Method Details
-
valueOf
-
getLineCap
-
getLineJoin
-
getLineDash
-
isAlternateDash
public boolean isAlternateDash()The pen sets every other pixel (this style is applicable only for cosmetic pens). -
clone
Creates a new object of the same class and with the same contents as this object.- Overrides:
clone
in classObject
- Returns:
- a clone of this instance.
- Throws:
OutOfMemoryError
- if there is not enough memory.- See Also:
-