Package org.apache.poi.hemf.record.emf
Class HemfPenStyle
- java.lang.Object
-
- org.apache.poi.hwmf.record.HwmfPenStyle
-
- org.apache.poi.hemf.record.emf.HemfPenStyle
-
- All Implemented Interfaces:
Duplicatable,GenericRecord
public class HemfPenStyle extends HwmfPenStyle
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.poi.hwmf.record.HwmfPenStyle
HwmfPenStyle.HwmfLineCap, HwmfPenStyle.HwmfLineDash, HwmfPenStyle.HwmfLineJoin
-
-
Field Summary
-
Fields inherited from class org.apache.poi.hwmf.record.HwmfPenStyle
flag, SUBSECTION_ALTERNATE, SUBSECTION_DASH, SUBSECTION_ENDCAP, SUBSECTION_GEOMETRIC, SUBSECTION_JOIN
-
-
Constructor Summary
Constructors Constructor Description HemfPenStyle(int flag)HemfPenStyle(HemfPenStyle other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HemfPenStylecopy()float[]getLineDashes()Convienence method which should be used instead of accessingHwmfPenStyle.HwmfLineDash.dashesdirectly, so an subclass can provide user-style dashesvoidsetLineDashes(float[] dashPattern)static HemfPenStylevalueOf(int flag)static HemfPenStylevalueOf(HwmfPenStyle.HwmfLineCap cap, HwmfPenStyle.HwmfLineJoin join, HwmfPenStyle.HwmfLineDash dash, boolean isAlternateDash, boolean isGeometric)-
Methods inherited from class org.apache.poi.hwmf.record.HwmfPenStyle
getGenericProperties, getLineCap, getLineDash, getLineJoin, isAlternateDash, isGeometric, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
-
-
-
Constructor Detail
-
HemfPenStyle
public HemfPenStyle(int flag)
-
HemfPenStyle
public HemfPenStyle(HemfPenStyle other)
-
-
Method Detail
-
valueOf
public static HemfPenStyle valueOf(HwmfPenStyle.HwmfLineCap cap, HwmfPenStyle.HwmfLineJoin join, HwmfPenStyle.HwmfLineDash dash, boolean isAlternateDash, boolean isGeometric)
-
valueOf
public static HemfPenStyle valueOf(int flag)
-
getLineDashes
public float[] getLineDashes()
Description copied from class:HwmfPenStyleConvienence method which should be used instead of accessingHwmfPenStyle.HwmfLineDash.dashesdirectly, so an subclass can provide user-style dashes- Overrides:
getLineDashesin classHwmfPenStyle- Returns:
- the dash pattern
-
setLineDashes
public void setLineDashes(float[] dashPattern)
-
copy
public HemfPenStyle copy()
- Specified by:
copyin interfaceDuplicatable- Overrides:
copyin classHwmfPenStyle
-
-