EmfPenStyle
Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum
public final class EmfPenStyle extends System.Enum
The PenStyle enumeration defines the attributes of pens that can be used in graphics operations. A pen style is a combination of pen type, line style, line cap, and line join.
Fields
Field | Description |
---|---|
EndCapMask | The end cap mask |
EnumSeparatorCharArray | |
JoinMask | The join mask |
PS_ALTERNATE | A line style in which every other pixel is set. |
PS_COSMETIC | A pen type that specifies a line with a width of one logical unit and a style that is a solid color |
PS_DASH | A line style that is dashed |
PS_DASHDOT | A line style that consists of alternating dashes and dots |
PS_DASHDOTDOT | A line style that consists of dashes and double dots. |
PS_DOT | A line style that is dotted. |
PS_ENDCAP_FLAT | A line cap that specifies flat ends. |
PS_ENDCAP_ROUND | A line cap that specifies round ends. |
PS_ENDCAP_SQUARE | A line cap that specifies square ends. |
PS_GEOMETRIC | 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. |
PS_INSIDEFRAME | A line style that is a solid color. |
PS_JOIN_BEVEL | A line join that specifies beveled joins. |
PS_JOIN_MITER | A line join that specifies mitered joins when the lengths of the joins are within the current miter length limit that is set in the playback device context. |
PS_JOIN_ROUND | A line join that specifies round joins |
PS_NULL | A line style that is invisible. |
PS_SOLID | A line style that is a solid color |
PS_USERSTYLE | A line style that is defined by a styling array, which specifies the lengths of dashes and gaps in the line |
StyleMask | The style mask |
TypeMask | The type mask |
Methods
EndCapMask
public static final long EndCapMask
The end cap mask
EnumSeparatorCharArray
public static final char[] EnumSeparatorCharArray
JoinMask
public static final long JoinMask
The join mask
PS_ALTERNATE
public static final long PS_ALTERNATE
A line style in which every other pixel is set. This style is applicable only to a pen type of PS_COSMETIC
PS_COSMETIC
public static final long PS_COSMETIC
A pen type that specifies a line with a width of one logical unit and a style that is a solid color
PS_DASH
public static final long PS_DASH
A line style that is dashed
PS_DASHDOT
public static final long PS_DASHDOT
A line style that consists of alternating dashes and dots
PS_DASHDOTDOT
public static final long PS_DASHDOTDOT
A line style that consists of dashes and double dots.
PS_DOT
public static final long PS_DOT
A line style that is dotted.
PS_ENDCAP_FLAT
public static final long PS_ENDCAP_FLAT
A line cap that specifies flat ends.
PS_ENDCAP_ROUND
public static final long PS_ENDCAP_ROUND
A line cap that specifies round ends.
PS_ENDCAP_SQUARE
public static final long PS_ENDCAP_SQUARE
A line cap that specifies square ends.
PS_GEOMETRIC
public static final long PS_GEOMETRIC
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.
PS_INSIDEFRAME
public static final long PS_INSIDEFRAME
A line style that is a solid color. When this style is specified in a drawing record that takes a bounding rectangle, the dimensions of the figure are shrunk so that it fits entirely in the bounding rectangle, taking into account the width of the pen.
PS_JOIN_BEVEL
public static final long PS_JOIN_BEVEL
A line join that specifies beveled joins.
PS_JOIN_MITER
public static final long PS_JOIN_MITER
A line join that specifies mitered joins when the lengths of the joins are within the current miter length limit that is set in the playback device context. If the lengths of the joins exceed the miter limit, beveled joins are specified
PS_JOIN_ROUND
public static final long PS_JOIN_ROUND
A line join that specifies round joins
PS_NULL
public static final long PS_NULL
A line style that is invisible.
PS_SOLID
public static final long PS_SOLID
A line style that is a solid color
PS_USERSTYLE
public static final long PS_USERSTYLE
A line style that is defined by a styling array, which specifies the lengths of dashes and gaps in the line
StyleMask
public static final long StyleMask
The style mask
TypeMask
public static final long TypeMask
The type mask
Clone()
public System.Enum Clone()
Returns: com.aspose.ms.System.Enum
CloneTo(T arg0)
public abstract void CloneTo(T arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | T |
CloneTo(System.Enum arg0)
public void CloneTo(System.Enum arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Enum |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
format(System.Type arg0, Object arg1, String arg2)
public static String format(System.Type arg0, Object arg1, String arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object | |
arg2 | java.lang.String |
Returns: java.lang.String
format(Class> arg0, long arg1, String arg2)
public static String format(Class<?> arg0, long arg1, String arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class> | |
arg1 | long | |
arg2 | java.lang.String |
Returns: java.lang.String
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class>
getName(System.Type arg0, Object arg1)
public static String getName(System.Type arg0, Object arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object |
Returns: java.lang.String
getName(Class> arg0, long arg1)
public static String getName(Class<?> arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class> | |
arg1 | long |
Returns: java.lang.String
getNames(System.Type arg0)
public static String[] getNames(System.Type arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type |
Returns: java.lang.String[]
getNames(Class> arg0)
public static Collection<String> getNames(Class<?> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class> |
Returns: java.util.Collection<java.lang.String>
getUnderlyingType(System.Type arg0)
public static System.Type getUnderlyingType(System.Type arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type |
Returns: com.aspose.ms.System.Type
getUnderlyingType(Class> arg0)
public static Class<? extends Number> getUnderlyingType(Class<?> arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class> |
Returns: java.lang.Class<? extends java.lang.Number>
getValue(Class> arg0, String arg1)
public static long getValue(Class<?> arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class> | |
arg1 | java.lang.String |
Returns: long
getValues(System.Type arg0)
public static System.Array getValues(System.Type arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type |
Returns: com.aspose.ms.System.Array
get_Value()
public long get_Value()
Returns: long
hashCode()
public native int hashCode()
Returns: int
isDefined(System.Type arg0, Object arg1)
public static boolean isDefined(System.Type arg0, Object arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object |
Returns: boolean
isDefined(System.Type arg0, String arg1)
public static boolean isDefined(System.Type arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String |
Returns: boolean
isDefined(System.Type arg0, long arg1)
public static boolean isDefined(System.Type arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | long |
Returns: boolean
isDefined(Class> arg0, long arg1)
public static boolean isDefined(Class<?> arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class> | |
arg1 | long |
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
parse(System.Type arg0, String arg1)
public static long parse(System.Type arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String |
Returns: long
parse(System.Type arg0, String arg1, Boolean arg2)
public static long parse(System.Type arg0, String arg1, Boolean arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.String | |
arg2 | java.lang.Boolean |
Returns: long
parse(Class> arg0, String arg1)
public static long parse(Class<?> arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class> | |
arg1 | java.lang.String |
Returns: long
parse(Class> arg0, String arg1, Boolean arg2)
public static long parse(Class<?> arg0, String arg1, Boolean arg2)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class> | |
arg1 | java.lang.String | |
arg2 | java.lang.Boolean |
Returns: long
register(System.Enum.AbstractEnum arg0)
public static void register(System.Enum.AbstractEnum arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Enum.AbstractEnum |
toObject(System.Type arg0, Object arg1)
public static Object toObject(System.Type arg0, Object arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | com.aspose.ms.System.Type | |
arg1 | java.lang.Object |
Returns: java.lang.Object
toString()
public String toString()
Returns: java.lang.String
toString(Class> arg0, long arg1)
public static String toString(Class<?> arg0, long arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class> | |
arg1 | long |
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |