public class HwmfPenStyle
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
HwmfPenStyle.HwmfLineCap |
static class |
HwmfPenStyle.HwmfLineDash |
static class |
HwmfPenStyle.HwmfLineJoin |
Modifier and Type | Field and Description |
---|---|
protected int |
flag |
Constructor and Description |
---|
HwmfPenStyle() |
Modifier and Type | Method and Description |
---|---|
HwmfPenStyle |
clone()
Creates a new object of the same class and with the
same contents as this object.
|
HwmfPenStyle.HwmfLineCap |
getLineCap() |
HwmfPenStyle.HwmfLineDash |
getLineDash() |
float[] |
getLineDashes()
Convienence method which should be used instead of accessing
HwmfPenStyle.HwmfLineDash.dashes
directly, so an subclass can provide user-style dashes |
HwmfPenStyle.HwmfLineJoin |
getLineJoin() |
boolean |
isAlternateDash()
The pen sets every other pixel (this style is applicable only for cosmetic pens).
|
boolean |
isGeometric()
A pen type that specifies a line with a width that is measured in logical units
and a style that can contain any of the attributes of a brush.
|
java.lang.String |
toString() |
static HwmfPenStyle |
valueOf(int flag) |
public static HwmfPenStyle valueOf(int flag)
public HwmfPenStyle.HwmfLineCap getLineCap()
public HwmfPenStyle.HwmfLineJoin getLineJoin()
public HwmfPenStyle.HwmfLineDash getLineDash()
public float[] getLineDashes()
HwmfPenStyle.HwmfLineDash.dashes
directly, so an subclass can provide user-style dashespublic boolean isAlternateDash()
public boolean isGeometric()
public HwmfPenStyle clone()
clone
in class java.lang.Object
java.lang.OutOfMemoryError
- if there is not enough memory.Cloneable
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2019 The Apache Software Foundation or its licensors, as applicable.