public class ShapesUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CP_RGB_FILL_COLOR |
static int |
CP_RGB_STROKE_WIDTH_SHAPE |
static String |
MAGNET_ACTIVE_RGB_FILL_SHAPE |
static String |
MAGNET_RGB_FILL_SHAPE |
static double |
RGB_ALPHA_CONTAINER |
static String |
RGB_FILL_CONTAINER |
static String |
RGB_FILL_HOVER_CONTAINER |
static String |
RGB_FILL_SHAPE |
static String |
RGB_FILL_TEXT |
static String |
RGB_STROKE_CONTAINER |
static String |
RGB_STROKE_HOVER_CONTAINER |
static String |
RGB_STROKE_SHAPE |
static String |
RGB_STROKE_TEXT |
static int |
RGB_STROKE_WIDTH_CONTAINER |
static int |
RGB_STROKE_WIDTH_SHAPE |
Constructor and Description |
---|
ShapesUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
calculateHeight(int shapes) |
static int |
getNumberOfShapesInCategory(Category shapeCategory,
Set<ShapeFactory> factories) |
static int |
getRow(int shapes) |
public static final String CP_RGB_FILL_COLOR
public static final int CP_RGB_STROKE_WIDTH_SHAPE
public static final String MAGNET_RGB_FILL_SHAPE
public static final String MAGNET_ACTIVE_RGB_FILL_SHAPE
public static final String RGB_STROKE_SHAPE
public static final String RGB_FILL_SHAPE
public static final int RGB_STROKE_WIDTH_SHAPE
public static final String RGB_STROKE_CONTAINER
public static final String RGB_FILL_CONTAINER
public static final String RGB_STROKE_HOVER_CONTAINER
public static final String RGB_FILL_HOVER_CONTAINER
public static final int RGB_STROKE_WIDTH_CONTAINER
public static final double RGB_ALPHA_CONTAINER
public static final String RGB_STROKE_TEXT
public static final String RGB_FILL_TEXT
public static int getNumberOfShapesInCategory(Category shapeCategory, Set<ShapeFactory> factories)
public static int calculateHeight(int shapes)
public static int getRow(int shapes)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.