Package | Description |
---|---|
com.dukescript.api.canvas |
Create instance of
GraphicsContext2D
and draw on it
using Java. |
com.dukescript.spi.canvas |
SPI for enabling the Canvas API on different platforms.
|
Modifier and Type | Method and Description |
---|---|
abstract Dimension |
GraphicsContext2D.getDimension(Image img)
Get the Dimension of an Image
|
abstract Dimension |
GraphicsContext2D.measureText(String text)
Check the length of a text before writing it to the Canvas.
|
Modifier and Type | Method and Description |
---|---|
Dimension |
GraphicsEnvironment.measureText(Canvas canvas,
String text)
The Dimension of this text using the current Font settings
|
Copyright © 2018. All Rights Reserved.