viewtify

viewtify.ui.canvas

EnhancedCanvas

  • javafx.scene.canvas.Canvas
  • Node

EnhancedCanvas()

ui()EnhancedCanvas

EnhancedCanvas

bindSizeTo(javafx.scene.layout.Regionparent)EnhancedCanvas

javafx.scene.layout.Regionparent
EnhancedCanvas

Bind the canvas size to the parent region.

bindSizeTo(doublewidth, javafx.scene.layout.Regionheight)EnhancedCanvas

doublewidth
javafx.scene.layout.Regionheight
EnhancedCanvas

Bind the canvas size to the parent region.

bindSizeTo(javafx.scene.layout.Regionwidth, doubleheight)EnhancedCanvas

javafx.scene.layout.Regionwidth
doubleheight
EnhancedCanvas

Bind the canvas size to the parent region.

context(Consumerjavafx.scene.canvas.GraphicsContextcontext)EnhancedCanvas

Consumerjavafx.scene.canvas.GraphicsContextcontext
EnhancedCanvas

Configure graphic context.

clear()EnhancedCanvas

EnhancedCanvas

Chainable API.

Clear all drawing figure on this canvas.

width(doublewidth)EnhancedCanvas

doublewidth

A width to set.

EnhancedCanvas

Chainable API.

Set the width and height of this canvas.

height(doubleheight)EnhancedCanvas

doubleheight

A height to set.

EnhancedCanvas

Chainable API.

Set the width and height of this canvas.

size(doublewidth, doubleheight)EnhancedCanvas

doublewidth

A width to set.

doubleheight

A height to set.

EnhancedCanvas

Chainable API.

Set the width and height of this canvas.

lineWidth(doublewidth)EnhancedCanvas

doublewidth

A width to set.

EnhancedCanvas

Chainable API.

Set the width and height of this canvas.

textBaseLine(javafx.geometry.VPosbaseLine)EnhancedCanvas

javafx.geometry.VPosbaseLine

A baseLine to set.

EnhancedCanvas

Chainable API.

Set the text base line of this canvas.

fillColor(stylist.value.Colorcolor)EnhancedCanvas

stylist.value.Colorcolor

A color to set.

EnhancedCanvas

Chainable API.

Configure fill color.

fillColor(intred, intgreen, intblue)EnhancedCanvas

intred

A red element.

intgreen

A green element.

intblue

A blue element.

EnhancedCanvas

Chainable API.

Configure fill color.

fillColor(intred, intgreen, intblue, doublealpha)EnhancedCanvas

intred

A red element.

intgreen

A green element.

intblue

A blue element.

doublealpha
EnhancedCanvas

Chainable API.

Configure fill color.

fillColor(javafx.scene.paint.Colorcolor)EnhancedCanvas

javafx.scene.paint.Colorcolor

A color to set.

EnhancedCanvas

Chainable API.

Configure fill color.

strokeColor(stylist.value.Colorcolor)EnhancedCanvas

stylist.value.Colorcolor

A color to set.

EnhancedCanvas

Chainable API.

Configure stroke color.

strokeColor(intred, intgreen, intblue)EnhancedCanvas

intred

A red element.

intgreen

A green element.

intblue

A blue element.

EnhancedCanvas

Chainable API.

Configure stroke color.

strokeColor(intred, intgreen, intblue, doublealpha)EnhancedCanvas

intred

A red element.

intgreen

A green element.

intblue

A blue element.

doublealpha
EnhancedCanvas

Chainable API.

Configure stroke color.

strokeColor(javafx.scene.paint.Colorcolor)EnhancedCanvas

javafx.scene.paint.Colorcolor

A color to set.

EnhancedCanvas

Chainable API.

Configure stroke color.

fontSize()double

double

Get the current font size.

font(doublesize)EnhancedCanvas

doublesize

A font size to set.

EnhancedCanvas

Chainable API.

Configure font size..

font(doublesize, javafx.scene.text.FontWeightweight)EnhancedCanvas

doublesize

A font size to set.

javafx.scene.text.FontWeightweight
EnhancedCanvas

Chainable API.

Configure font size..

strokeText(Objecttext, doublex, doubley)EnhancedCanvas

Objecttext

A text to draw.

doublex

X position.

doubley

Y position.

EnhancedCanvas

Chainable API.

Stroke text on the specified position.

strokeText(Objecttext, doublex, doubley, doublewidth)EnhancedCanvas

Objecttext

A text to draw.

doublex

X position.

doubley

Y position.

doublewidth

A text width.

EnhancedCanvas

Chainable API.

Stroke text on the specified position.

fillText(Objecttext, doublex, doubley)EnhancedCanvas

Objecttext

A text to draw.

doublex

X position.

doubley

Y position.

EnhancedCanvas

Chainable API.

Fill text on the specified position.

fillText(Objecttext, doublex, doubley, doublewidth)EnhancedCanvas

Objecttext

A text to draw.

doublex

X position.

doubley

Y position.

doublewidth

A text width.

EnhancedCanvas

Chainable API.

Fill text on the specified position.

fillRect(doublex, doubley, doublewidth, doubleheight)EnhancedCanvas

doublex

X position.

doubley

Y position.

doublewidth

A width.

doubleheight

A height.

EnhancedCanvas

Chainable API.

Fill text on the specified position.

drawWhen(kiss.SignalTtiming, BiConsumerT, EnhancedCanvasdrawing)EnhancedCanvas

T
kiss.SignalTtiming
BiConsumerT, EnhancedCanvasdrawing
EnhancedCanvas

Chainable API.

Draw your art when the specified timing.