shouldFill : bool
shouldStroke : bool
drawRect(CanvasRenderingContext2D ctx, BBRect rect) : void
drawStar(CanvasRenderingContext2D ctx, int innerRadius, int outerRadius, int segments, int xOffset, int yOffset) : void
drawStar(CanvasRenderingContext2D ctx, BBStar star) : void
drawCircle(CanvasRenderingContext2D ctx, int x, int y, int radius) : void
drawBubble(CanvasRenderingContext2D ctx, int x, int y, int radius) : void
shouldFill : bool
Indicates if the drawing functions should fill in the shapes they create.
shouldStroke : bool
Indicates if the drawing functions should outline the shapes they create.
drawRect(CanvasRenderingContext2D ctx, BBRect rect) : void
Draws the given rectangle with the given context.
drawStar(CanvasRenderingContext2D ctx, int innerRadius, int outerRadius, int segments, int xOffset, int yOffset) : void
Draws a star with the given inner radius, outer radius, number of segments, and x and y positions.
drawStar(CanvasRenderingContext2D ctx, BBStar star) : void
Draws the given star with the given context.
drawCircle(CanvasRenderingContext2D ctx, int x, int y, int radius) : void
Draws a circle using the given context with the given x, y, and radius.
drawBubble(CanvasRenderingContext2D ctx, int x, int y, int radius) : void
Draws a bubble using the given context with the given x, y, and radius.