Class ShapeViewFactory
- java.lang.Object
-
- org.kie.workbench.common.stunner.shapes.client.view.ShapeViewFactory
-
@Dependent public class ShapeViewFactory extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedShapeViewFactory()ShapeViewFactory(PictureProvidersManager pictureProvidersManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CircleViewcircle(double radius)AbstractConnectorViewconnector(org.kie.workbench.common.stunner.shapes.def.ConnectorShapeDef.Direction direction, double... points)PictureShapeViewpicture(Object source, double width, double height)PictureShapeViewpictureFromUri(com.google.gwt.safehtml.shared.SafeUri uri, double width, double height)PolygonViewpolygon(double radius)RectangleViewrectangle(double width, double height, double corner_radius)RingViewring(double outer)
-
-
-
Constructor Detail
-
ShapeViewFactory
protected ShapeViewFactory()
-
ShapeViewFactory
@Inject public ShapeViewFactory(PictureProvidersManager pictureProvidersManager)
-
-
Method Detail
-
rectangle
public RectangleView rectangle(double width, double height, double corner_radius)
-
pictureFromUri
public PictureShapeView pictureFromUri(com.google.gwt.safehtml.shared.SafeUri uri, double width, double height)
-
picture
public PictureShapeView picture(Object source, double width, double height)
-
circle
public CircleView circle(double radius)
-
ring
public RingView ring(double outer)
-
polygon
public PolygonView polygon(double radius)
-
connector
public AbstractConnectorView connector(org.kie.workbench.common.stunner.shapes.def.ConnectorShapeDef.Direction direction, double... points)
-
-