class Contour

Hierarchy

  • AContour
    • Contour

Constructors

  • Parameters

    • ix: number

      the X absolute coordinate of the first point of the contour

    • iy: number

      the Y absolute coordinate of the first point of the contour

    • icolor: string = ''

      an optional color name to be used instead of the default color

    Returns Contour

Properties

circle: boolean = false
debugLines: Line[]
debugPoints: Point[]
imposedColor: string
lastPoint: Point
points: Point[]
segments: Segment1[]

Methods

  • Parameters

    • iRadius: number
    • iLarge: boolean
    • iCcw: boolean

    Returns Contour

  • Parameters

    • iTangentAngle1: number
    • firstNlast: boolean

    Returns Contour

  • Returns string

  • Parameters

    • iRadius: number
    • iLarge: boolean
    • iCcw: boolean

    Returns Contour

  • Parameters

    • ctx: CanvasRenderingContext2D
    • cAdjust: tCanvasAdjust
    • color: string = colors.contour

    Returns void

  • Returns number

  • Parameters

    • ix: number
    • iy: number
    • ir: number
    • scaleCorner: boolean = false

    Returns Contour

  • Internal

    Parameters

    • ix: number
    • iy: number

    Returns void

  • Parameters

    • yCeiling: number
    • color: string = ''

    Returns string