Package com.adobe.xfa.gfx
Class GFXFillAttr
- java.lang.Object
-
- com.adobe.xfa.gfx.GFXAttr
-
- com.adobe.xfa.gfx.GFXFillAttr
-
public class GFXFillAttr extends GFXAttr
-
-
Field Summary
Fields Modifier and Type Field Description static GFXFillAttr
BLACK_FILL
static GFXFillAttr
DARKGREY_FILL
static GFXFillAttr
GRAY_FILL
static GFXFillAttr
LIGHTGRAY_FILL
static GFXFillAttr
NO_FILL
static GFXFillAttr
WHITE_FILL
-
Fields inherited from class com.adobe.xfa.gfx.GFXAttr
DEFAULT_SHADESCALE, STYLE_CROSS, STYLE_DASH, STYLE_DIAG_CROSS, STYLE_DIAG_LEFT, STYLE_DIAG_RIGHT, STYLE_DOT, STYLE_DOT_DASH, STYLE_DOT_DOT_DASH, STYLE_HORZ, STYLE_NONE, STYLE_SOLID, STYLE_UNKNOWN, STYLE_VERT
-
-
Constructor Summary
Constructors Constructor Description GFXFillAttr()
Default constructor.GFXFillAttr(int nNewStyle, int lNewShade, GFXColour oNewColour, GFXColour oNewColourBg)
Constructor.GFXFillAttr(GFXFillAttr oSource)
Copy constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GFXFillAttr
blackFill()
Get a black filled Fill Attribute.void
copyFrom(GFXFillAttr oSource)
Assigment operator.static GFXFillAttr
darkGrayFill()
Get a dark gray filled Fill Attribute.static GFXFillAttr
defaultFill()
Get a default Fill Attribute.static GFXFillAttr
grayFill()
Get a gray filled Fill Attribute.static GFXFillAttr
lightGrayFill()
Get a light gray filled Fill Attribute.static GFXFillAttr
noFill()
Get a Fill Attribute with no fill.static GFXFillAttr
whiteFill()
Get a white filled Fill Attribute.-
Methods inherited from class com.adobe.xfa.gfx.GFXAttr
colour, colour, colourBg, colourBg, copyFrom, defaultShadeScale, equals, equivalent, graphicContext, graphicContext, hashCode, shade, shade, shadeColour, shadeScale, shadeScale, style, style
-
-
-
-
Field Detail
-
BLACK_FILL
public static final GFXFillAttr BLACK_FILL
-
WHITE_FILL
public static final GFXFillAttr WHITE_FILL
-
LIGHTGRAY_FILL
public static final GFXFillAttr LIGHTGRAY_FILL
-
GRAY_FILL
public static final GFXFillAttr GRAY_FILL
-
DARKGREY_FILL
public static final GFXFillAttr DARKGREY_FILL
-
NO_FILL
public static final GFXFillAttr NO_FILL
-
-
Constructor Detail
-
GFXFillAttr
public GFXFillAttr()
Default constructor.Creates a new Fill attribute with default settings.
-
GFXFillAttr
public GFXFillAttr(GFXFillAttr oSource)
Copy constructor.Creates a new Fill attribute with the same settings as the source attribute.
- Parameters:
oSource
- - Fill attribute to copy
-
GFXFillAttr
public GFXFillAttr(int nNewStyle, int lNewShade, GFXColour oNewColour, GFXColour oNewColourBg)
Constructor.Creates a new Fill attribute with the specified settings.
- Parameters:
nNewStyle
- - The style setting for this attributelNewShade
- - The shade setting for this attributeoNewColour
- - The foreground colour to be usedoNewColourBg
- - The background colour to be used
-
-
Method Detail
-
defaultFill
public static GFXFillAttr defaultFill()
Get a default Fill Attribute.This will return a Fill Attribute with the following settings:
Style = solid Shade scale = maximum Foreground colour = white Background colour = white
- Returns:
- A Fill Attribute with default settings
-
blackFill
public static GFXFillAttr blackFill()
Get a black filled Fill Attribute.This will return a Fill Attribute with the following settings:
Style = solid Shade scale = maximum Foreground colour = black Background colour = black
- Returns:
- A Fill Attribute with Black fill settings
-
whiteFill
public static GFXFillAttr whiteFill()
Get a white filled Fill Attribute.This will return a Fill Attribute with the following settings:
Style = solid Shade scale = maximum Foreground colour = white Background colour = white
- Returns:
- A Fill Attribute with White fill settings
-
lightGrayFill
public static GFXFillAttr lightGrayFill()
Get a light gray filled Fill Attribute.This will return a Fill Attribute with the following settings:
Style = solid Shade scale = maximum Foreground colour = light gray Background colour = light gray
- Returns:
- A Fill Attribute with Light Gray fill settings
-
grayFill
public static GFXFillAttr grayFill()
Get a gray filled Fill Attribute.This will return a Fill Attribute with the following settings:
Style = solid Shade scale = maximum Foreground colour = gray Background colour = gray
- Returns:
- A Fill Attribute with Gray fill settings
-
darkGrayFill
public static GFXFillAttr darkGrayFill()
Get a dark gray filled Fill Attribute.This will return a Fill Attribute with the following settings:
Style = solid Shade scale = maximum Foreground colour = dark gray Background colour = dark gray
- Returns:
- A Fill Attribute with Dark Gray fill settings
-
noFill
public static GFXFillAttr noFill()
Get a Fill Attribute with no fill.This will return a Fill Attribute with the following settings:
Style = none Shade scale = maximum Foreground colour = black Background colour = black
- Returns:
- A Fill Attribute with no fill settings
-
copyFrom
public void copyFrom(GFXFillAttr oSource)
Assigment operator.Replace all attribute settings with those from the source object.
- Parameters:
oSource
- - Source attribute object to copy.
-
-