public class HemfPenStyle extends HwmfPenStyle
HwmfPenStyle.HwmfLineCap, HwmfPenStyle.HwmfLineDash, HwmfPenStyle.HwmfLineJoin
flag, SUBSECTION_ALTERNATE, SUBSECTION_DASH, SUBSECTION_ENDCAP, SUBSECTION_GEOMETRIC, SUBSECTION_JOIN
Constructor and Description |
---|
HemfPenStyle(HemfPenStyle other) |
HemfPenStyle(int flag) |
Modifier and Type | Method and Description |
---|---|
HemfPenStyle |
copy() |
float[] |
getLineDashes()
Convienence method which should be used instead of accessing
HwmfPenStyle.HwmfLineDash.dashes
directly, so an subclass can provide user-style dashes |
void |
setLineDashes(float[] dashPattern) |
static HemfPenStyle |
valueOf(HwmfPenStyle.HwmfLineCap cap,
HwmfPenStyle.HwmfLineJoin join,
HwmfPenStyle.HwmfLineDash dash,
boolean isAlternateDash,
boolean isGeometric) |
static HemfPenStyle |
valueOf(int flag) |
getGenericProperties, getLineCap, getLineDash, getLineJoin, isAlternateDash, isGeometric, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren, getGenericRecordType
public HemfPenStyle(int flag)
public HemfPenStyle(HemfPenStyle other)
public static HemfPenStyle valueOf(HwmfPenStyle.HwmfLineCap cap, HwmfPenStyle.HwmfLineJoin join, HwmfPenStyle.HwmfLineDash dash, boolean isAlternateDash, boolean isGeometric)
public static HemfPenStyle valueOf(int flag)
public float[] getLineDashes()
HwmfPenStyle
HwmfPenStyle.HwmfLineDash.dashes
directly, so an subclass can provide user-style dashesgetLineDashes
in class HwmfPenStyle
public void setLineDashes(float[] dashPattern)
public HemfPenStyle copy()
copy
in interface Duplicatable
copy
in class HwmfPenStyle
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.