public class LienzoShapeUtils extends Object
| Constructor and Description |
|---|
LienzoShapeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static com.ait.lienzo.client.core.types.LinearGradient |
getLinearGradient(String startColor,
String endColor,
Double width,
Double height) |
static double[] |
getScaleFactor(double width,
double height,
double targetWidth,
double targetHeight) |
static com.ait.lienzo.client.core.shape.wires.LayoutContainer.Layout |
getWiresLayout(HasChildren.Layout layout) |
static void |
scale(com.ait.lienzo.client.core.shape.Shape shape,
double width,
double height) |
static com.ait.lienzo.client.core.shape.wires.OptionalBounds |
translateBounds(Bounds bounds) |
public static void scale(com.ait.lienzo.client.core.shape.Shape shape,
double width,
double height)
public static double[] getScaleFactor(double width,
double height,
double targetWidth,
double targetHeight)
public static com.ait.lienzo.client.core.shape.wires.LayoutContainer.Layout getWiresLayout(HasChildren.Layout layout)
public static com.ait.lienzo.client.core.types.LinearGradient getLinearGradient(String startColor, String endColor, Double width, Double height)
public static com.ait.lienzo.client.core.shape.wires.OptionalBounds translateBounds(Bounds bounds)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.