Uses of Class
org.pepstock.charba.client.dom.elements.Context2dItem
-
Packages that use Context2dItem Package Description org.pepstock.charba.client Main package with all charts implementation, global classes and common interfaces.org.pepstock.charba.client.colors.tiles Contains all classes to build tiles to use in the a canvas patterns or a Charba pattern.org.pepstock.charba.client.dom.elements Contains a set of DOM elements that Charba is using. -
-
Uses of Context2dItem in org.pepstock.charba.client
Methods in org.pepstock.charba.client with parameters of type Context2dItem Modifier and Type Method Description void
Helpers. clipArea(Context2dItem context, double width, double height)
Clips an area on the canvas context.
The area is specified by size.
Starting points are 0.void
Helpers. clipArea(Context2dItem context, double x, double y, double width, double height)
Clips an area on the canvas context.
The area is specified by coordinates and size.void
Helpers. clipArea(Context2dItem context, IsArea area)
Clips an area on the canvas context.void
Helpers. unclipArea(Context2dItem context)
Unclips the area previously set.Constructors in org.pepstock.charba.client with parameters of type Context2dItem Constructor Description Chart(Context2dItem context, NativeObject configuration)
Builds CHART object at CHART.JS level.
This constructor MUST be empty. -
Uses of Context2dItem in org.pepstock.charba.client.colors.tiles
Methods in org.pepstock.charba.client.colors.tiles with parameters of type Context2dItem Modifier and Type Method Description protected void
ShapeDrawer. applyFillProperties(Context2dItem context, String shapeColor)
Applies the common configuration to context for fill designing.protected void
ShapeDrawer. applyStrokeProperties(Context2dItem context, String shapeColor, int size)
Applies the common configuration to context for stroke designing.protected void
ShapeDrawer. applyStrokeProperties(Context2dItem context, String shapeColor, int size, CapStyle lineCap, JoinStyle lineJoin)
Applies the common configuration to context for stroke designing.protected void
CharacterShape. drawTile(Context2dItem context, String backgroundColor, String shapeColor, int size)
protected void
ImageShape. drawTile(Context2dItem context, String backgroundColor, String shapeColor, int size)
protected abstract void
ShapeDrawer. drawTile(Context2dItem context, String backgroundColor, String shapeColor, int size)
Draws the tile applying the requested shape. -
Uses of Context2dItem in org.pepstock.charba.client.dom.elements
Methods in org.pepstock.charba.client.dom.elements that return Context2dItem Modifier and Type Method Description Context2dItem
Canvas. getContext2d()
Returns a drawing 2D context on the canvas.
-