@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) |
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) |
protected ShapeViewFactory()
@Inject public ShapeViewFactory(PictureProvidersManager pictureProvidersManager)
public RectangleView rectangle(double width, double height, double corner_radius)
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.