Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "circle"

Index

Functions

Functions

Const circle

  • circle(canvas: Canvas, cx: number, cy: number, r: number, char?: NumOrString, fill?: boolean, format?: number): void
  • Draws a circle (filled or outline) at given center position and radius and taking the current clip rect and format into account. If char is not given, uses current style's dot char.

    Parameters

    • canvas: Canvas
    • cx: number
    • cy: number
    • r: number
    • Optional char: NumOrString
    • Default value fill: boolean = false
    • Default value format: number = canvas.format

    Returns void

Generated using TypeDoc