@ApplicationScoped public class ShapeViewFactory extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
ShapeViewFactory() |
|
ShapeViewFactory(PictureProvidersManager pictureProvidersManager) |
| Modifier and Type | Method and Description |
|---|---|
CircleView |
circle(double radius) |
ConnectorView |
connector(double... points) |
DynamicIconShapeView |
dynamicIcon(Icons icon,
double width,
double height) |
PictureShapeView |
picture(Object source,
double width,
double height) |
PolygonView |
polygon(double radius,
String fillColor) |
RectangleView |
rectangle(double width,
double height,
double corner_radius) |
RingView |
ring(double outer) |
StaticIconShapeView |
staticIcon(Icons icon) |
protected ShapeViewFactory()
@Inject public ShapeViewFactory(PictureProvidersManager pictureProvidersManager)
public RectangleView rectangle(double width, double height, double corner_radius)
public DynamicIconShapeView dynamicIcon(Icons icon, double width, double height)
public StaticIconShapeView staticIcon(Icons icon)
public PictureShapeView picture(Object source, double width, double height)
public CircleView circle(double radius)
public RingView ring(double outer)
public PolygonView polygon(double radius, String fillColor)
public ConnectorView connector(double... points)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.