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:
org.apache.poi.common.Duplicatable,GenericRecord
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.poi.hwmf.record.HwmfPenStyle
HwmfPenStyle.HwmfLineCap, HwmfPenStyle.HwmfLineDash, HwmfPenStyle.HwmfLineJoin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()float[]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, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
Constructor Details
-
HemfPenStyle
public HemfPenStyle(int flag) -
HemfPenStyle
-
-
Method Details
-
valueOf
public static HemfPenStyle valueOf(HwmfPenStyle.HwmfLineCap cap, HwmfPenStyle.HwmfLineJoin join, HwmfPenStyle.HwmfLineDash dash, boolean isAlternateDash, boolean isGeometric) -
valueOf
-
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
- Specified by:
copyin interfaceorg.apache.poi.common.Duplicatable- Overrides:
copyin classHwmfPenStyle
-