public interface IShapeDrawingPresenter
IShapeDrawingView
Modifier and Type | Method and Description |
---|---|
void |
onEmojiCatalog()
Open the emoji catalog to draw a shape from it.
|
void |
onFontAwesomeIcon()
Open the Font Awesom catalog to draw a shape from it.
|
void |
onShapeCatalog(boolean center,
boolean ratio)
Open the shape catalog to draw a shape from it.
|
void |
startShapeTask(com.google.gwt.dom.client.Element svgElement,
boolean center,
boolean ratio,
boolean coloredShape)
Start drawing a shape
|
void startShapeTask(com.google.gwt.dom.client.Element svgElement, boolean center, boolean ratio, boolean coloredShape)
svgElement
- the svg shape element (g or use element)center
- draw by center or by upper left cornerratio
- draw with the same ratiocoloredShape
- colored shape flag, apply default style if notvoid onShapeCatalog(boolean center, boolean ratio)
center
- draw by center point or upper left cornerratio
- keep shape ratiovoid onEmojiCatalog()
void onFontAwesomeIcon()