Home       Comp Core Examples       Comp Projects

Canvas Border

canvasBorder component is a very simple component which just draws broder on canvas. The purpose is just to draw and border on to canvas and give it some color and width.

Arg Name Arg Type Explanation
color string color of the border
borderWidth number Width of the border.

Following are props unique to Circle Component.

Prop Name Prop Type Explanation
borderWidth AniNumber Width of the border

Most of the BaseComponent props are not implemented since they are not required.

The main props to be used are "color" and "borderWidth".