API Documentation > Classes > Class GraphicsMode
Class GraphicsMode

package com.ptc.pfc.pfcDisplay;

public class
GraphicsMode
implements
jxenum


Description
Enumertated type representing the type of graphics that will be drawn on the screen using the methods on Display
Field Summary
static final int
_DRAW_GRAPHICS_NORMAL
Integer value of enum value "DRAW_GRAPHICS_NORMAL"
Graphics are drawn in normal mode. Entities will be created using the current graphicscolor.
static final GraphicsMode
DRAW_GRAPHICS_NORMAL
Object value of enum value "DRAW_GRAPHICS_NORMAL"
Graphics are drawn in normal mode. Entities will be created using the current graphicscolor.
static final int
_DRAW_GRAPHICS_COMPLEMENT
Integer value of enum value "DRAW_GRAPHICS_COMPLEMENT"
Graphics are drawn in complement mode. Entities drawn over existing graphics entitieswill erase the existing entities. Entities drawn where graphics are not present have noeffect.
static final GraphicsMode
DRAW_GRAPHICS_COMPLEMENT
Object value of enum value "DRAW_GRAPHICS_COMPLEMENT"
Graphics are drawn in complement mode. Entities drawn over existing graphics entitieswill erase the existing entities. Entities drawn where graphics are not present have noeffect.
static final int
_GraphicsMode_null
Enum null value.
Method Summary
FromInt (int value)
Creates enum object from an integer.
FromInt (Integer value)
Creates enum object from an integer object.
int
Returns enum object value as an integer.
Method Detail
getValue
int
getValue
()
Returns enum object value as an integer.
Returns:
Integer enum value.
FromInt
FromInt
(int value)
Creates enum object from an integer.
Parameters:
value
Input integer value.
Returns:
Enum value object.
FromInt
FromInt
(Integer value)
Creates enum object from an integer object.
Parameters:
value
Input integer object.
Returns:
Enum value object.
Was this helpful?