public final class GridImage
extends java.lang.Object
getAsImage()
.Constructor and Description |
---|
GridImage(int width,
int height,
int borderThickness,
int secondaryLineCount,
int secondaryLineThickness)
Creates a new grid image representation.
|
Modifier and Type | Method and Description |
---|---|
javafx.scene.image.Image |
getAsImage(javafx.scene.paint.Color lineColor)
Creates an image of a grid based off this model.
|
public GridImage(int width, int height, int borderThickness, int secondaryLineCount, int secondaryLineThickness)
width
- the overall width of the imageheight
- the overall height of the imageborderThickness
- the thickness of the borderssecondaryLineCount
- the number of secondary linessecondaryLineThickness
- the thickness of the secondary lines