Class GCData

java.lang.Object
org.eclipse.swt.graphics.GCData

public final class GCData extends 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:
  • Field Details

    • 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 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
  • Constructor Details

    • GCData

      public GCData()