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 org.eclipse.swt.graphics.ImageData |
getPaintImageData(int width,
int height,
javafx.scene.paint.Paint paint)
Creates a rectangular
Image to visualize the given Paint. |
public static org.eclipse.swt.graphics.ImageData getPaintImageData(int width,
int height,
javafx.scene.paint.Paint paint)
Image to visualize the given Paint.width - The width of the resulting Image.height - The height of the resulting Image.paint - The Paint to use for filling the Image.Image.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, 2016 itemis AG and others. All rights reserved.