public class GFXFillAttr extends GFXAttr
| Modifier and Type | Field and 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 |
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 and Description |
|---|
GFXFillAttr()
Default constructor.
|
GFXFillAttr(GFXFillAttr oSource)
Copy constructor.
|
GFXFillAttr(int nNewStyle,
int lNewShade,
GFXColour oNewColour,
GFXColour oNewColourBg)
Constructor.
|
| Modifier and Type | Method and 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.
|
colour, colour, colourBg, colourBg, copyFrom, defaultShadeScale, equals, equivalent, graphicContext, graphicContext, hashCode, shade, shade, shadeColour, shadeScale, shadeScale, style, stylepublic static final GFXFillAttr BLACK_FILL
public static final GFXFillAttr WHITE_FILL
public static final GFXFillAttr LIGHTGRAY_FILL
public static final GFXFillAttr GRAY_FILL
public static final GFXFillAttr DARKGREY_FILL
public static final GFXFillAttr NO_FILL
public GFXFillAttr()
Creates a new Fill attribute with default settings.
public GFXFillAttr(GFXFillAttr oSource)
Creates a new Fill attribute with the same settings as the source attribute.
oSource - - Fill attribute to copypublic GFXFillAttr(int nNewStyle,
int lNewShade,
GFXColour oNewColour,
GFXColour oNewColourBg)
Creates a new Fill attribute with the specified settings.
nNewStyle - - The style setting for this attributelNewShade - - The shade setting for this attributeoNewColour - - The foreground colour to be usedoNewColourBg - - The background colour to be usedpublic static GFXFillAttr defaultFill()
This will return a Fill Attribute with the following settings:
Style = solid
Shade scale = maximum
Foreground colour = white
Background colour = white
public static GFXFillAttr blackFill()
This will return a Fill Attribute with the following settings:
Style = solid
Shade scale = maximum
Foreground colour = black
Background colour = black
public static GFXFillAttr whiteFill()
This will return a Fill Attribute with the following settings:
Style = solid
Shade scale = maximum
Foreground colour = white
Background colour = white
public static GFXFillAttr lightGrayFill()
This will return a Fill Attribute with the following settings:
Style = solid
Shade scale = maximum
Foreground colour = light gray
Background colour = light gray
public static GFXFillAttr grayFill()
This will return a Fill Attribute with the following settings:
Style = solid
Shade scale = maximum
Foreground colour = gray
Background colour = gray
public static GFXFillAttr darkGrayFill()
This will return a Fill Attribute with the following settings:
Style = solid
Shade scale = maximum
Foreground colour = dark gray
Background colour = dark gray
public static GFXFillAttr noFill()
This will return a Fill Attribute with the following settings:
Style = none
Shade scale = maximum
Foreground colour = black
Background colour = black
public void copyFrom(GFXFillAttr oSource)
Replace all attribute settings with those from the source object.
oSource - - Source attribute object to copy.Copyright © 2010 - 2020 Adobe. All Rights Reserved