public class FXPaintUtils
extends java.lang.Object
Paint
representations.Constructor and Description |
---|
FXPaintUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getPaintDisplayText(javafx.scene.paint.Paint paint)
Creates a human-readable string representation for the given
Paint value. |
static ImageData |
getPaintImageData(int width,
int height,
javafx.scene.paint.Paint paint)
Creates a rectangular
Image to visualize the given Paint . |
public static ImageData getPaintImageData(int width, int height, javafx.scene.paint.Paint paint)
Image
to visualize the given Paint
.public static java.lang.String getPaintDisplayText(javafx.scene.paint.Paint paint)
Paint
value.paint
- The Paint
value to create a string representation for.Paint
value.Copyright (c) 2014 itemis AG and others. All rights reserved.