EmfStockObject

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class EmfStockObject extends System.Enum

The StockObject enumeration specifies the indexes of predefined logical graphics objects that can be used in graphics operations.The specific structures of stock objects are implementation-dependent; however, the properties of stock objects SHOULD be equivalent to the properties of explicitly created objects of the same type. These properties are specified where possible for the stock objects defined in this enumeration.

Fields

FieldDescription
WHITE_BRUSHA white, solid-color brush that is equivalent to a logical brush (LogBrushEx object, section 2.2.12) with the following properties: BrushStyle: BS_SOLID (WMF BrushStyle enumeration, [MS-WMF] section 2.1.1.4) Color: 0x00FFFFFF (WMF ColorRef object, [MS-WMF] section 2.2.2.8)
LTGRAY_BRUSHA light gray, solid-color brush that is equivalent to a logical brush with the following properties: BrushStyle: BS_SOLID Color: 0x00C0C0C0
GRAY_BRUSHA gray, solid-color brush that is equivalent to a logical brush with the following properties: BrushStyle: BS_SOLID Color: 0x00808080
DKGRAY_BRUSHA dark gray, solid color brush that is equivalent to a logical brush with the following properties: BrushStyle: BS_SOLID Color: 0x00404040
BLACK_BRUSHA black, solid color brush that is equivalent to a logical brush with the following properties: BrushStyle: BS_SOLID Color: 0x00000000
NULL_BRUSHA null brush that is equivalent to a logical brush with the following properties: BrushStyle: BS_NULL
WHITE_PENA white, solid-color pen that is equivalent to a logical pen (LogPen object, section 2.2.19) with the following properties: PenStyle: PS_COSMETIC + PS_SOLID (PenStyle enumeration, section 2.1.25) ColorRef: 0x00FFFFFF (WMF ColorRef object).
BLACK_PENA black, solid-color pen that is equivalent to a logical pen with the following properties: PenStyle: PS_COSMETIC + PS_SOLID ColorRef: 0x00000000
NULL_PENA null pen that is equivalent to a logical pen with the following properties: PenStyle: PS_NULL
OEM_FIXED_FONTA fixed-width, OEM character set font that is equivalent to a logical font (LogFont object, section 2.2.13) with the following properties: Charset: OEM_CHARSET (WMF CharacterSet enumeration, [MS-WMF] section 2.1.1.5) PitchAndFamily: FF_DONTCARE (WMF FamilyFont enumeration, [MS-WMF] section 2.1.1.8) + FIXED_PITCH (WMF PitchFont enumeration, [MS-WMF] section 2.1.1.24)
ANSI_FIXED_FONTA fixed-width font that is equivalent to a logical font with the following properties: Charset: ANSI_CHARSET PitchAndFamily: FF_DONTCARE + FIXED_PITCH
ANSI_VAR_FONTA variable-width font that is equivalent to a logical font with the following properties: Charset: ANSI_CHARSET PitchAndFamily: FF_DONTCARE + VARIABLE_PITCH
SYSTEM_FONTA font that is guaranteed to be available in the operating system.
DEVICE_DEFAULT_FONTThe default font that is provided by the graphics device driver for the current output device.
DEFAULT_PALETTEThe default palette that is defined for the current output device.
SYSTEM_FIXED_FONTA fixed-width font that is guaranteed to be available in the operating system.
DEFAULT_GUI_FONTA fixed-width font that is guaranteed to be available in the operating system.
DC_BRUSHThe solid-color brush that is currently selected in the playback device context
DC_PENThe solid-color pen that is currently selected in the playback device context

WHITE_BRUSH

public static final int WHITE_BRUSH

A white, solid-color brush that is equivalent to a logical brush (LogBrushEx object, section 2.2.12) with the following properties: BrushStyle: BS_SOLID (WMF BrushStyle enumeration, [MS-WMF] section 2.1.1.4) Color: 0x00FFFFFF (WMF ColorRef object, [MS-WMF] section 2.2.2.8)

LTGRAY_BRUSH

public static final int LTGRAY_BRUSH

A light gray, solid-color brush that is equivalent to a logical brush with the following properties: BrushStyle: BS_SOLID Color: 0x00C0C0C0

GRAY_BRUSH

public static final int GRAY_BRUSH

A gray, solid-color brush that is equivalent to a logical brush with the following properties: BrushStyle: BS_SOLID Color: 0x00808080

DKGRAY_BRUSH

public static final int DKGRAY_BRUSH

A dark gray, solid color brush that is equivalent to a logical brush with the following properties: BrushStyle: BS_SOLID Color: 0x00404040

BLACK_BRUSH

public static final int BLACK_BRUSH

A black, solid color brush that is equivalent to a logical brush with the following properties: BrushStyle: BS_SOLID Color: 0x00000000

NULL_BRUSH

public static final int NULL_BRUSH

A null brush that is equivalent to a logical brush with the following properties: BrushStyle: BS_NULL

WHITE_PEN

public static final int WHITE_PEN

A white, solid-color pen that is equivalent to a logical pen (LogPen object, section 2.2.19) with the following properties: PenStyle: PS_COSMETIC + PS_SOLID (PenStyle enumeration, section 2.1.25) ColorRef: 0x00FFFFFF (WMF ColorRef object).

BLACK_PEN

public static final int BLACK_PEN

A black, solid-color pen that is equivalent to a logical pen with the following properties: PenStyle: PS_COSMETIC + PS_SOLID ColorRef: 0x00000000

NULL_PEN

public static final int NULL_PEN

A null pen that is equivalent to a logical pen with the following properties: PenStyle: PS_NULL

OEM_FIXED_FONT

public static final int OEM_FIXED_FONT

A fixed-width, OEM character set font that is equivalent to a logical font (LogFont object, section 2.2.13) with the following properties: Charset: OEM_CHARSET (WMF CharacterSet enumeration, [MS-WMF] section 2.1.1.5) PitchAndFamily: FF_DONTCARE (WMF FamilyFont enumeration, [MS-WMF] section 2.1.1.8) + FIXED_PITCH (WMF PitchFont enumeration, [MS-WMF] section 2.1.1.24)

ANSI_FIXED_FONT

public static final int ANSI_FIXED_FONT

A fixed-width font that is equivalent to a logical font with the following properties: Charset: ANSI_CHARSET PitchAndFamily: FF_DONTCARE + FIXED_PITCH

ANSI_VAR_FONT

public static final int ANSI_VAR_FONT

A variable-width font that is equivalent to a logical font with the following properties: Charset: ANSI_CHARSET PitchAndFamily: FF_DONTCARE + VARIABLE_PITCH

SYSTEM_FONT

public static final int SYSTEM_FONT

A font that is guaranteed to be available in the operating system. The actual font that is specified by this value is implementation-dependent

DEVICE_DEFAULT_FONT

public static final int DEVICE_DEFAULT_FONT

The default font that is provided by the graphics device driver for the current output device. The actual font that is specified by this value is implementation-dependent

DEFAULT_PALETTE

public static final int DEFAULT_PALETTE

The default palette that is defined for the current output device. The actual palette that is specified by this value is implementation-dependent

SYSTEM_FIXED_FONT

public static final int SYSTEM_FIXED_FONT

A fixed-width font that is guaranteed to be available in the operating system. The actual font that is specified by this value is implementation-dependent

DEFAULT_GUI_FONT

public static final int DEFAULT_GUI_FONT

A fixed-width font that is guaranteed to be available in the operating system. The actual font that is specified by this value is implementation-dependent

DC_BRUSH

public static final int DC_BRUSH

The solid-color brush that is currently selected in the playback device context

DC_PEN

public static final int DC_PEN

The solid-color pen that is currently selected in the playback device context