Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Path

Hierarchy

  • Path

Index

Constructors

constructor

Properties

Private Readonly _dart_addArc

_dart_addArc: (oval: IRect, startAngle: number, sweepAngle: number) => void = ...

Type declaration

    • (oval: IRect, startAngle: number, sweepAngle: number): void
    • Parameters

      • oval: IRect
      • startAngle: number
      • sweepAngle: number

      Returns void

Private Readonly _dart_addOval

_dart_addOval: (oval: IRect) => void = ...

Type declaration

    • Parameters

      Returns void

Private Readonly _dart_addPath

_dart_addPath: (path: IPath, offset: IOffset, props: { matrix4?: IFloat64List }) => void = ...

Type declaration

Private Readonly _dart_addPolygon

_dart_addPolygon: (points: IList<IOffset>, close: boolean) => void = ...

Type declaration

Private Readonly _dart_addRRect

_dart_addRRect: (rrect: IRRect) => void = ...

Type declaration

    • Parameters

      Returns void

Private Readonly _dart_addRect

_dart_addRect: (rect: IRect) => void = ...

Type declaration

    • Parameters

      Returns void

Private Readonly _dart_arcTo

_dart_arcTo: (rect: IRect, startAngle: number, sweepAngle: number, forceMoveTo: boolean) => void = ...

Type declaration

    • (rect: IRect, startAngle: number, sweepAngle: number, forceMoveTo: boolean): void
    • Parameters

      • rect: IRect
      • startAngle: number
      • sweepAngle: number
      • forceMoveTo: boolean

      Returns void

Private Readonly _dart_arcToPoint

_dart_arcToPoint: (arcEnd: IOffset, props: { clockwise: boolean; largeArc: boolean; radius: IRadius; rotation: number }) => void = ...

Type declaration

    • (arcEnd: IOffset, props: { clockwise: boolean; largeArc: boolean; radius: IRadius; rotation: number }): void
    • Parameters

      • arcEnd: IOffset
      • props: { clockwise: boolean; largeArc: boolean; radius: IRadius; rotation: number }
        • clockwise: boolean
        • largeArc: boolean
        • radius: IRadius
        • rotation: number

      Returns void

Private Readonly _dart_close

_dart_close: () => void = ...

Type declaration

    • (): void
    • Returns void

Private Readonly _dart_computeMetrics

_dart_computeMetrics: (props: { forceClosed: boolean }) => IPathMetrics = ...

Type declaration

    • Parameters

      • props: { forceClosed: boolean }
        • forceClosed: boolean

      Returns IPathMetrics

Private Readonly _dart_conicTo

_dart_conicTo: (x1: number, y1: number, x2: number, y2: number, w: number) => void = ...

Type declaration

    • (x1: number, y1: number, x2: number, y2: number, w: number): void
    • Parameters

      • x1: number
      • y1: number
      • x2: number
      • y2: number
      • w: number

      Returns void

Private Readonly _dart_contains

_dart_contains: (point: IOffset) => boolean = ...

Type declaration

Private Readonly _dart_cubicTo

_dart_cubicTo: (x1: number, y1: number, x2: number, y2: number, x3: number, y3: number) => void = ...

Type declaration

    • (x1: number, y1: number, x2: number, y2: number, x3: number, y3: number): void
    • Parameters

      • x1: number
      • y1: number
      • x2: number
      • y2: number
      • x3: number
      • y3: number

      Returns void

Private Readonly _dart_extendWithPath

_dart_extendWithPath: (path: IPath, offset: IOffset, props: { matrix4?: IFloat64List }) => void = ...

Type declaration

Private Readonly _dart_getBounds

_dart_getBounds: () => IRect = ...

Type declaration

Private Readonly _dart_getFillType

_dart_getFillType: () => PathFillType = ...

Type declaration

Private Readonly _dart_lineTo

_dart_lineTo: (x: number, y: number) => void = ...

Type declaration

    • (x: number, y: number): void
    • Parameters

      • x: number
      • y: number

      Returns void

Private Readonly _dart_moveTo

_dart_moveTo: (x: number, y: number) => void = ...

Type declaration

    • (x: number, y: number): void
    • Parameters

      • x: number
      • y: number

      Returns void

Private Readonly _dart_quadraticBezierTo

_dart_quadraticBezierTo: (x1: number, y1: number, x2: number, y2: number) => void = ...

Type declaration

    • (x1: number, y1: number, x2: number, y2: number): void
    • Parameters

      • x1: number
      • y1: number
      • x2: number
      • y2: number

      Returns void

Private Readonly _dart_relativeArcToPoint

_dart_relativeArcToPoint: (arcEndDelta: IOffset, props: { clockwise: boolean; largeArc: boolean; radius: IRadius; rotation: number }) => void = ...

Type declaration

    • (arcEndDelta: IOffset, props: { clockwise: boolean; largeArc: boolean; radius: IRadius; rotation: number }): void
    • Parameters

      • arcEndDelta: IOffset
      • props: { clockwise: boolean; largeArc: boolean; radius: IRadius; rotation: number }
        • clockwise: boolean
        • largeArc: boolean
        • radius: IRadius
        • rotation: number

      Returns void

Private Readonly _dart_relativeConicTo

_dart_relativeConicTo: (x1: number, y1: number, x2: number, y2: number, w: number) => void = ...

Type declaration

    • (x1: number, y1: number, x2: number, y2: number, w: number): void
    • Parameters

      • x1: number
      • y1: number
      • x2: number
      • y2: number
      • w: number

      Returns void

Private Readonly _dart_relativeCubicTo

_dart_relativeCubicTo: (x1: number, y1: number, x2: number, y2: number, x3: number, y3: number) => void = ...

Type declaration

    • (x1: number, y1: number, x2: number, y2: number, x3: number, y3: number): void
    • Parameters

      • x1: number
      • y1: number
      • x2: number
      • y2: number
      • x3: number
      • y3: number

      Returns void

Private Readonly _dart_relativeLineTo

_dart_relativeLineTo: (dx: number, dy: number) => void = ...

Type declaration

    • (dx: number, dy: number): void
    • Parameters

      • dx: number
      • dy: number

      Returns void

Private Readonly _dart_relativeMoveTo

_dart_relativeMoveTo: (dx: number, dy: number) => void = ...

Type declaration

    • (dx: number, dy: number): void
    • Parameters

      • dx: number
      • dy: number

      Returns void

Private Readonly _dart_relativeQuadraticBezierTo

_dart_relativeQuadraticBezierTo: (x1: number, y1: number, x2: number, y2: number) => void = ...

Type declaration

    • (x1: number, y1: number, x2: number, y2: number): void
    • Parameters

      • x1: number
      • y1: number
      • x2: number
      • y2: number

      Returns void

Private Readonly _dart_reset

_dart_reset: () => void = ...

Type declaration

    • (): void
    • Returns void

Private Readonly _dart_setFillType

_dart_setFillType: (value: PathFillType) => void = ...

Type declaration

Private Readonly _dart_shift

_dart_shift: (offset: IOffset) => IPath = ...

Type declaration

Private Readonly _dart_transform

_dart_transform: (matrix4: IFloat64List) => IPath = ...

Type declaration

Methods

addArc

  • addArc(oval: IRect, startAngle: number, sweepAngle: number): void

addOval

  • addOval(oval: IRect): void

addPath

addPolygon

addRRect

  • addRRect(rrect: IRRect): void

addRect

  • addRect(rect: IRect): void

arcTo

  • arcTo(rect: IRect, startAngle: number, sweepAngle: number, forceMoveTo: boolean): void
  • Parameters

    • rect: IRect
    • startAngle: number
    • sweepAngle: number
    • forceMoveTo: boolean

    Returns void

arcToPoint

  • arcToPoint(arcEnd: IOffset, props: { clockwise?: boolean; largeArc?: boolean; radius?: IRadius; rotation?: number }): void
  • Parameters

    • arcEnd: IOffset
    • props: { clockwise?: boolean; largeArc?: boolean; radius?: IRadius; rotation?: number }
      • Optional clockwise?: boolean
      • Optional largeArc?: boolean
      • Optional radius?: IRadius
      • Optional rotation?: number

    Returns void

close

  • close(): void

computeMetrics

  • computeMetrics(props: { forceClosed?: boolean }): IPathMetrics

conicTo

  • conicTo(x1: number, y1: number, x2: number, y2: number, w: number): void
  • Parameters

    • x1: number
    • y1: number
    • x2: number
    • y2: number
    • w: number

    Returns void

contains

  • contains(point: IOffset): boolean

cubicTo

  • cubicTo(x1: number, y1: number, x2: number, y2: number, x3: number, y3: number): void
  • Parameters

    • x1: number
    • y1: number
    • x2: number
    • y2: number
    • x3: number
    • y3: number

    Returns void

extendWithPath

getBounds

getFillType

lineTo

  • lineTo(x: number, y: number): void

moveTo

  • moveTo(x: number, y: number): void

quadraticBezierTo

  • quadraticBezierTo(x1: number, y1: number, x2: number, y2: number): void
  • Parameters

    • x1: number
    • y1: number
    • x2: number
    • y2: number

    Returns void

relativeArcToPoint

  • relativeArcToPoint(arcEndDelta: IOffset, props: { clockwise?: boolean; largeArc?: boolean; radius?: IRadius; rotation?: number }): void
  • Parameters

    • arcEndDelta: IOffset
    • props: { clockwise?: boolean; largeArc?: boolean; radius?: IRadius; rotation?: number }
      • Optional clockwise?: boolean
      • Optional largeArc?: boolean
      • Optional radius?: IRadius
      • Optional rotation?: number

    Returns void

relativeConicTo

  • relativeConicTo(x1: number, y1: number, x2: number, y2: number, w: number): void
  • Parameters

    • x1: number
    • y1: number
    • x2: number
    • y2: number
    • w: number

    Returns void

relativeCubicTo

  • relativeCubicTo(x1: number, y1: number, x2: number, y2: number, x3: number, y3: number): void
  • Parameters

    • x1: number
    • y1: number
    • x2: number
    • y2: number
    • x3: number
    • y3: number

    Returns void

relativeLineTo

  • relativeLineTo(dx: number, dy: number): void

relativeMoveTo

  • relativeMoveTo(dx: number, dy: number): void

relativeQuadraticBezierTo

  • relativeQuadraticBezierTo(x1: number, y1: number, x2: number, y2: number): void
  • Parameters

    • x1: number
    • y1: number
    • x2: number
    • y2: number

    Returns void

reset

  • reset(): void

setFillType

shift

transform

Static combine

Static from

Generated using TypeDoc