static class GraphicsContext.State
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) BlendMode |
blendop |
(package private) double[] |
dashes |
(package private) double |
dashOffset |
(package private) Effect |
effect |
(package private) Paint |
fill |
(package private) FillRule |
fillRule |
(package private) Font |
font |
(package private) FontSmoothingType |
fontsmoothing |
(package private) double |
globalAlpha |
(package private) StrokeLineCap |
linecap |
(package private) StrokeLineJoin |
linejoin |
(package private) double |
linewidth |
(package private) double |
miterlimit |
(package private) int |
numClipPaths |
(package private) Paint |
stroke |
(package private) TextAlignment |
textalign |
(package private) VPos |
textbaseline |
(package private) Affine2D |
transform |
Constructor and Description |
---|
State() |
State(GraphicsContext.State copy) |
Modifier and Type | Method and Description |
---|---|
(package private) GraphicsContext.State |
copy() |
(package private) void |
init() |
(package private) void |
restore(GraphicsContext ctx) |
(package private) void |
set(double globalAlpha,
BlendMode blendop,
Affine2D transform,
Paint fill,
Paint stroke,
double linewidth,
StrokeLineCap linecap,
StrokeLineJoin linejoin,
double miterlimit,
double[] dashes,
double dashOffset,
int numClipPaths,
Font font,
FontSmoothingType smoothing,
TextAlignment align,
VPos baseline,
Effect effect,
FillRule fillRule) |
double globalAlpha
BlendMode blendop
Affine2D transform
Paint fill
Paint stroke
double linewidth
StrokeLineCap linecap
StrokeLineJoin linejoin
double miterlimit
double[] dashes
double dashOffset
int numClipPaths
Font font
FontSmoothingType fontsmoothing
TextAlignment textalign
VPos textbaseline
Effect effect
FillRule fillRule
State()
State(GraphicsContext.State copy)
final void init()
final void set(double globalAlpha, BlendMode blendop, Affine2D transform, Paint fill, Paint stroke, double linewidth, StrokeLineCap linecap, StrokeLineJoin linejoin, double miterlimit, double[] dashes, double dashOffset, int numClipPaths, Font font, FontSmoothingType smoothing, TextAlignment align, VPos baseline, Effect effect, FillRule fillRule)
GraphicsContext.State copy()
void restore(GraphicsContext ctx)