Package org.eclipse.swt.graphics
Class GCData
- java.lang.Object
-
- org.eclipse.swt.graphics.GCData
-
public final class GCData extends java.lang.Object
Instances of this class are descriptions of GCs in terms of unallocated platform-specific data fields.IMPORTANT: This class is not part of the public API for SWT. It is marked public only so that it can be shared within the packages provided by SWT. It is not available on all platforms, and should never be called from application code.
- See Also:
- Sample code and further information
-
-
Field Summary
Fields Modifier and Type Field Description int
alpha
Pattern
backgroundPattern
GdkRGBA
backgroundRGBA
IMPORTANT: This field is not part of the SWT public API.long
cairo
double
cairoXoffset
double
cairoYoffset
double[]
clippingTransform
long
clipRgn
long
context
long
damageRgn
Device
device
boolean
disposeCairo
long
drawable
Usually a GdkWindow on GTK3, or a GdkSurface on GTK4int
drawFlags
Font
font
Pattern
foregroundPattern
GdkRGBA
foregroundRGBA
IMPORTANT: This field is not part of the SWT public API.int
height
double[]
identity
Image
image
int
interpolation
long
layout
int
lineCap
float[]
lineDashes
float
lineDashesOffset
int
lineJoin
float
lineMiterLimit
int
lineStyle
float
lineWidth
boolean
realDrawable
long
regionSet
int
state
java.lang.String
string
int
stringHeight
int
stringWidth
int
style
int
width
boolean
xorMode
-
Constructor Summary
Constructors Constructor Description GCData()
-
-
-
Field Detail
-
device
public Device device
-
style
public int style
-
state
public int state
-
foregroundRGBA
public GdkRGBA foregroundRGBA
IMPORTANT: This field is not part of the SWT public API. It is marked public only so that it can be shared within the packages provided by SWT. It is not available on all platforms and should never be accessed from application code.
-
backgroundRGBA
public GdkRGBA backgroundRGBA
IMPORTANT: This field is not part of the SWT public API. It is marked public only so that it can be shared within the packages provided by SWT. It is not available on all platforms and should never be accessed from application code.
-
font
public Font font
-
foregroundPattern
public Pattern foregroundPattern
-
backgroundPattern
public Pattern backgroundPattern
-
lineWidth
public float lineWidth
-
lineStyle
public int lineStyle
-
lineDashes
public float[] lineDashes
-
lineDashesOffset
public float lineDashesOffset
-
lineMiterLimit
public float lineMiterLimit
-
lineCap
public int lineCap
-
lineJoin
public int lineJoin
-
xorMode
public boolean xorMode
-
alpha
public int alpha
-
interpolation
public int interpolation
-
image
public Image image
-
clipRgn
public long clipRgn
-
context
public long context
-
layout
public long layout
-
damageRgn
public long damageRgn
-
cairo
public long cairo
-
regionSet
public long regionSet
-
drawable
public long drawable
Usually a GdkWindow on GTK3, or a GdkSurface on GTK4
-
cairoXoffset
public double cairoXoffset
-
cairoYoffset
public double cairoYoffset
-
disposeCairo
public boolean disposeCairo
-
identity
public double[] identity
-
clippingTransform
public double[] clippingTransform
-
string
public java.lang.String string
-
stringWidth
public int stringWidth
-
stringHeight
public int stringHeight
-
drawFlags
public int drawFlags
-
realDrawable
public boolean realDrawable
-
width
public int width
-
height
public int height
-
-