public class LienzoShapeUtils extends Object
| Constructor and Description |
|---|
LienzoShapeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int[] |
getDefaultMagnetsIndex(Shape sourceShape,
Shape targetShape) |
static int[] |
getDefaultMagnetsIndex(com.ait.lienzo.client.core.shape.wires.WiresShape sourceShape,
com.ait.lienzo.client.core.shape.wires.WiresShape targetShape)
Obtain the magnet indexes on the source and target shapes.
|
static com.ait.lienzo.client.core.types.LinearGradient |
getLinearGradient(String startColor,
String endColor,
Double width,
Double height) |
static com.ait.lienzo.client.core.shape.wires.LayoutContainer.Layout |
getWiresLayout(HasChildren.Layout layout) |
static void |
scalePicture(com.ait.lienzo.client.core.shape.Picture picture,
double width,
double height) |
public static void scalePicture(com.ait.lienzo.client.core.shape.Picture picture,
double width,
double height)
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 int[] getDefaultMagnetsIndex(com.ait.lienzo.client.core.shape.wires.WiresShape sourceShape,
com.ait.lienzo.client.core.shape.wires.WiresShape targetShape)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.