Wraps JavaFX GraphicsContext
Wraps JavaFX GraphicsContext
- Companion
- object
Value members
Concrete methods
Adds path elements to the current path to make an arc that uses Euclidean degrees.
Adds path elements to the current path to make an arc that uses Euclidean degrees.
Adds segments to the current path to make a cubic bezier curve.
Adds segments to the current path to make a cubic bezier curve.
Gets the Canvas that the GraphicsContext is issuing draw commands to.
Gets the Canvas that the GraphicsContext is issuing draw commands to.
Clears a portion of the canvas with a transparent color value.
Clears a portion of the canvas with a transparent color value.
Draws an image at the given x, y position using the width and height of the given image.
Draws an image at the given x, y position using the width and height of the given image.
Draws an image into the given destination rectangle of the canvas.
Draws an image into the given destination rectangle of the canvas.
Draws the current source rectangle of the given image to the given destination rectangle of the Canvas.
Draws the current source rectangle of the given image to the given destination rectangle of the Canvas.
Fills an arc using the current fill paint.
Fills an arc using the current fill paint.
Fills the path with the current fill paint. This method is correspondent to fill() method in JavaFx class.
Fills the path with the current fill paint. This method is correspondent to fill() method in JavaFx class.
Fills a polygon with the given points using the currently set fill paint.
Fills a polygon with the given points using the currently set fill paint.
Fills a polygon with the given points using the currently set fill paint.
Fills a polygon with the given points using the currently set fill paint.
Fills a rounded rectangle using the current fill paint.
Fills a rounded rectangle using the current fill paint.
the filling rule constant for determining the interior of the path.
the filling rule constant for determining the interior of the path.
Fills the given string of text at position x, y (0,0 at top left) with the current fill paint attribute.
Fills the given string of text at position x, y (0,0 at top left) with the current fill paint attribute.
Fills text and includes a maximum width of the string.
Fills text and includes a maximum width of the string.
Gets a copy of the effect to be applied after the next draw call.
Gets a copy of the effect to be applied after the next draw call.
Adds segments to the current path to make a line at the given x,y coordinate.
Adds segments to the current path to make a line at the given x,y coordinate.
Issues a move command for the current path to the given x,y coordinate.
Issues a move command for the current path to the given x,y coordinate.
Returns a PixelWriter object that can be used to modify the pixels of the Canvas associated with this GraphicsContext.
Returns a PixelWriter object that can be used to modify the pixels of the Canvas associated with this GraphicsContext.
Returns true if the the given x,y point is inside the path.
Returns true if the the given x,y point is inside the path.
Adds segments to the current path to make a quadratic curve.
Adds segments to the current path to make a quadratic curve.
Adds path elements to the current path to make a rectangle.
Adds path elements to the current path to make a rectangle.
Pops the state off of the stack, setting the following attributes to their value at the time when that state was pushed onto the stack.
Pops the state off of the stack, setting the following attributes to their value at the time when that state was pushed onto the stack.
Sets the effect to be applied after the next draw call, or null to disable effects.
Sets the effect to be applied after the next draw call, or null to disable effects.
Sets the current transform.
Sets the current transform.
Strokes an Arc using the current stroke paint.
Strokes an Arc using the current stroke paint.
Strokes the path with the current stroke paint. This method is correspondent to stroke() method in JavaFx class.
Strokes the path with the current stroke paint. This method is correspondent to stroke() method in JavaFx class.
Strokes a polygon with the given points using the currently set stroke paint.
Strokes a polygon with the given points using the currently set stroke paint.
Strokes a polygon with the given points using the currently set stroke paint.
Strokes a polygon with the given points using the currently set stroke paint.
Draws a polyline with the given points using the currently set stroke paint attribute.
Draws a polyline with the given points using the currently set stroke paint attribute.
Draws a polyline with the given points using the currently set stroke paint attribute.
Draws a polyline with the given points using the currently set stroke paint attribute.
Strokes a rectangle using the current stroke paint.
Strokes a rectangle using the current stroke paint.
Strokes a rounded rectangle using the current stroke paint.
Strokes a rounded rectangle using the current stroke paint.
draws the given string of text at position x, y (0,0 at top left) with the current stroke paint attribute.
draws the given string of text at position x, y (0,0 at top left) with the current stroke paint attribute.
Draws text with stroke paint and includes a maximum width of the string.
Draws text with stroke paint and includes a maximum width of the string.
Concatenates the input with the current transform.
Concatenates the input with the current transform.
Concatenates the input with the current transform.
Concatenates the input with the current transform.
Inherited methods
Verifies if a object is equals to this delegate.
Verifies if a object is equals to this delegate.
- Value Params
- ref
Object to be compared.
- Returns
if the other object is equals to this delegate or not.
- Definition Classes
- SFXDelegate -> Any
- Inherited from
- SFXDelegate
- Returns
Returns the original delegate's
toString()
adding a[SFX]
prefix.- Definition Classes
- SFXDelegate -> Any
- Inherited from
- SFXDelegate