- getBuffer() - Method in class javafx.scene.canvas.Canvas
-
- getBuffer() - Method in class javafx.scene.canvas.GraphicsContext
-
- getCanvas() - Method in class javafx.scene.canvas.GraphicsContext
-
Gets the Canvas
that the GraphicsContext
is issuing draw
commands to.
- getEffect(Effect) - Method in class javafx.scene.canvas.GraphicsContext
-
Gets a copy of the effect to be applied after the next draw call.
- getFill() - Method in class javafx.scene.canvas.GraphicsContext
-
Gets the current fill paint attribute.
- getFillRule() - Method in class javafx.scene.canvas.GraphicsContext
-
Get the filling rule attribute for determining the interior of paths
in fill and clip operations.
- getFont() - Method in class javafx.scene.canvas.GraphicsContext
-
Gets the current Font.
- getFontSmoothingType() - Method in class javafx.scene.canvas.GraphicsContext
-
Gets the current Font Smoothing Type.
- getGlobalAlpha() - Method in class javafx.scene.canvas.GraphicsContext
-
Gets the current global alpha.
- getGlobalBlendMode() - Method in class javafx.scene.canvas.GraphicsContext
-
Gets the global blend mode.
- getGraphicsContext2D() - Method in class javafx.scene.canvas.Canvas
-
returns the GraphicsContext
associated with this Canvas
.
- getHeight() - Method in class javafx.scene.canvas.Canvas
-
Gets the value of the property height.
- getLineCap() - Method in class javafx.scene.canvas.GraphicsContext
-
Gets the current stroke line cap.
- getLineDashes() - Method in class javafx.scene.canvas.GraphicsContext
-
Gets a copy of the current line dash array.
- getLineDashOffset() - Method in class javafx.scene.canvas.GraphicsContext
-
Gets the current line dash offset.
- getLineJoin() - Method in class javafx.scene.canvas.GraphicsContext
-
Gets the current stroke line join.
- getLineWidth() - Method in class javafx.scene.canvas.GraphicsContext
-
Gets the current line width.
- getMiterLimit() - Method in class javafx.scene.canvas.GraphicsContext
-
Gets the current miter limit.
- getPixelWriter() - Method in class javafx.scene.canvas.GraphicsContext
-
Returns a
PixelWriter
object that can be used to modify
the pixels of the
Canvas
associated with this
GraphicsContext
.
- getStroke() - Method in class javafx.scene.canvas.GraphicsContext
-
Gets the current stroke.
- getTextAlign() - Method in class javafx.scene.canvas.GraphicsContext
-
Gets the current TextAlignment
.
- getTextBaseline() - Method in class javafx.scene.canvas.GraphicsContext
-
Gets the current Text Baseline.
- getTransform(Affine) - Method in class javafx.scene.canvas.GraphicsContext
-
Copies the current transform into the supplied object, creating
a new Affine
object if it is null, and returns the object
containing the copy.
- getTransform() - Method in class javafx.scene.canvas.GraphicsContext
-
Returns a copy of the current transform.
- getWidth() - Method in class javafx.scene.canvas.Canvas
-
Gets the value of the property width.
- globalAlpha - Variable in class javafx.scene.canvas.GraphicsContext.State
-
- GraphicsContext - Class in javafx.scene.canvas
-
This class is used to issue draw calls to a
Canvas
using a buffer.
- GraphicsContext(Canvas) - Constructor for class javafx.scene.canvas.GraphicsContext
-
- GraphicsContext.State - Class in javafx.scene.canvas
-
- save() - Method in class javafx.scene.canvas.GraphicsContext
-
Saves the following attributes onto a stack.
- scale(double, double) - Method in class javafx.scene.canvas.GraphicsContext
-
Scales the current transform by x, y.
- set(double, BlendMode, Affine2D, Paint, Paint, double, StrokeLineCap, StrokeLineJoin, double, double[], double, int, Font, FontSmoothingType, TextAlignment, VPos, Effect, FillRule) - Method in class javafx.scene.canvas.GraphicsContext.State
-
- setEffect(Effect) - Method in class javafx.scene.canvas.GraphicsContext
-
Sets the effect to be applied after the next draw call, or null to
disable effects.
- setFill(Paint) - Method in class javafx.scene.canvas.GraphicsContext
-
Sets the current fill paint attribute.
- setFillRule(FillRule) - Method in class javafx.scene.canvas.GraphicsContext
-
Set the filling rule attribute for determining the interior of paths
in fill or clip operations.
- setFont(Font) - Method in class javafx.scene.canvas.GraphicsContext
-
Sets the current Font.
- setFontSmoothingType(FontSmoothingType) - Method in class javafx.scene.canvas.GraphicsContext
-
Sets the current Font Smoothing Type.
- setGlobalAlpha(double) - Method in class javafx.scene.canvas.GraphicsContext
-
Sets the global alpha of the current state.
- setGlobalBlendMode(BlendMode) - Method in class javafx.scene.canvas.GraphicsContext
-
Sets the global blend mode.
- setHeight(double) - Method in class javafx.scene.canvas.Canvas
-
Sets the value of the property height.
- setLineCap(StrokeLineCap) - Method in class javafx.scene.canvas.GraphicsContext
-
Sets the current stroke line cap.
- setLineDashes(double...) - Method in class javafx.scene.canvas.GraphicsContext
-
Sets the current stroke line dash pattern to a normalized copy of
the argument.
- setLineDashOffset(double) - Method in class javafx.scene.canvas.GraphicsContext
-
Sets the line dash offset.
- setLineJoin(StrokeLineJoin) - Method in class javafx.scene.canvas.GraphicsContext
-
Sets the current stroke line join.
- setLineWidth(double) - Method in class javafx.scene.canvas.GraphicsContext
-
Sets the current line width.
- setMiterLimit(double) - Method in class javafx.scene.canvas.GraphicsContext
-
Sets the current miter limit.
- setStroke(Paint) - Method in class javafx.scene.canvas.GraphicsContext
-
Sets the current stroke paint attribute.
- setTextAlign(TextAlignment) - Method in class javafx.scene.canvas.GraphicsContext
-
Defines horizontal text alignment, relative to the text x
origin.
- setTextBaseline(VPos) - Method in class javafx.scene.canvas.GraphicsContext
-
Sets the current Text Baseline.
- setTransform(double, double, double, double, double, double) - Method in class javafx.scene.canvas.GraphicsContext
-
Sets the current transform.
- setTransform(Affine) - Method in class javafx.scene.canvas.GraphicsContext
-
Sets the current transform.
- setWidth(double) - Method in class javafx.scene.canvas.Canvas
-
Sets the value of the property width.
- SIZE_HISTORY - Static variable in class javafx.scene.canvas.Canvas
-
- State() - Constructor for class javafx.scene.canvas.GraphicsContext.State
-
- State(GraphicsContext.State) - Constructor for class javafx.scene.canvas.GraphicsContext.State
-
- stateStack - Variable in class javafx.scene.canvas.GraphicsContext
-
- stroke - Variable in class javafx.scene.canvas.GraphicsContext.State
-
- stroke() - Method in class javafx.scene.canvas.GraphicsContext
-
Strokes the path with the current stroke paint.
- strokeArc(double, double, double, double, double, double, ArcType) - Method in class javafx.scene.canvas.GraphicsContext
-
Strokes an Arc using the current stroke paint.
- strokeLine(double, double, double, double) - Method in class javafx.scene.canvas.GraphicsContext
-
Strokes a line using the current stroke paint.
- strokeOval(double, double, double, double) - Method in class javafx.scene.canvas.GraphicsContext
-
Strokes an oval using the current stroke paint.
- strokePolygon(double[], double[], int) - Method in class javafx.scene.canvas.GraphicsContext
-
Strokes a polygon with the given points using the currently set stroke paint.
- strokePolyline(double[], double[], int) - Method in class javafx.scene.canvas.GraphicsContext
-
Strokes a polyline with the given points using the currently set stroke
paint attribute.
- strokeRect(double, double, double, double) - Method in class javafx.scene.canvas.GraphicsContext
-
Strokes a rectangle using the current stroke paint.
- strokeRoundRect(double, double, double, double, double, double) - Method in class javafx.scene.canvas.GraphicsContext
-
Strokes a rounded rectangle using the current stroke paint.
- strokeText(String, double, double) - Method in class javafx.scene.canvas.GraphicsContext
-
Draws the given string of text at position x, y
with the current stroke paint attribute.
- strokeText(String, double, double, double) - Method in class javafx.scene.canvas.GraphicsContext
-
Draws text with stroke paint and includes a maximum width of the string.