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
(应该使用的便捷方法,而不是直接访问 HwmfPenStyle.HwmfLineDash.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 dashes
(应该使用的便捷方法,而不是直接访问 HwmfPenStyle.HwmfLineDash.dashes,因此子类可以提供用户样式的破折号)
getLineDashes
in class
HwmfPenStyle
public void setLineDashes(float[] dashPattern)
public HemfPenStyle copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
HwmfPenStyle
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.