Hierarchy

  • StiPdfGeomWriter

Implements

Index

Constructors

constructor

Properties

assembleData

assembleData: boolean = false

componentAngle

componentAngle: number = 0

forceNewPoint

forceNewPoint: boolean = false

matrixCache

matrixCache: Matrix[] = null

pageNumber

pageNumber: number = 0

pageStream

pageStream: MemoryStream = null

path

path: StringBuilder = null

Methods

beginPath

  • beginPath(): void

closeFigure

  • closeFigure(): void

convertSplineToCubicBezier

  • convertSplineToCubicBezier(points: Point[], tension: number): Point[]
  • Parameters

    • points: Point[]
    • tension: number

    Returns Point[]

drawArc

  • drawArc(rect: Rectangle, startAngle: number, sweepAngle: number): void
  • Parameters

    • rect: Rectangle
    • startAngle: number
    • sweepAngle: number

    Returns void

drawArc2

drawBezier

drawBezierTo

drawEllipse

  • drawEllipse(rect: Rectangle, pen: any): void
  • Parameters

    Returns void

drawImage

drawLine

  • drawLine(pointFrom: Point, pointTo: Point, pen: any): void
  • Parameters

    Returns void

drawLineTo

  • drawLineTo(pointTo: Point, pen: any): void
  • Parameters

    • pointTo: Point
    • pen: any

    Returns void

drawPie

  • drawPie(rect: Rectangle, startAngle: number, sweepAngle: number): void
  • Parameters

    • rect: Rectangle
    • startAngle: number
    • sweepAngle: number

    Returns void

drawPolygon

  • drawPolygon(points: Point[], pen: any): void
  • Parameters

    • points: Point[]
    • pen: any

    Returns void

drawPolyline

  • drawPolyline(points: Point[], pen: any, close?: boolean, drawTo?: boolean): void
  • Parameters

    • points: Point[]
    • pen: any
    • Default value close: boolean = false
    • Default value drawTo: boolean = false

    Returns void

drawPolylineTo

  • drawPolylineTo(points: Point[], pen: any): void
  • Parameters

    • points: Point[]
    • pen: any

    Returns void

drawRectangle

drawSpline

  • drawSpline(points: Point[], tension: number, pen: any): void
  • Parameters

    • points: Point[]
    • tension: number
    • pen: any

    Returns void

drawString

drawText

endPath

  • endPath(): void

fillEllipse

  • fillEllipse(rect: Rectangle, brush: any): void
  • Parameters

    Returns void

fillPath

  • fillPath(brush: any): void

fillPolygon

  • fillPolygon(points: Point[], brush: any): void
  • Parameters

    • points: Point[]
    • brush: any

    Returns void

fillPolygons

fillRectangle

getBezierString

getBezierString2

  • getBezierString2(p1x: number, p1y: number, p2x: number, p2y: number, p3x: number, p3y: number): string
  • Parameters

    • p1x: number
    • p1y: number
    • p2x: number
    • p2y: number
    • p3x: number
    • p3y: number

    Returns string

getEllipseString

getEllipseString4

  • getEllipseString4(x: number, y: number, width: number, height: number): string
  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number

    Returns string

getLineToString

  • getLineToString(pointTo: Point): string
  • Parameters

    Returns string

getPointString

  • getPointString(point: Point): string
  • Parameters

    Returns string

getPolylineString

  • getPolylineString(points: Point[], close: boolean, drawTo: boolean): string
  • Parameters

    • points: Point[]
    • close: boolean
    • drawTo: boolean

    Returns string

getRectString

getRectString4

  • getRectString4(x: number, y: number, width: number, height: number): string
  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number

    Returns string

getRectWithCornersString

measureString

  • measureString(st: string, font: Font): SizeD

moveTo

  • moveTo(point: Point): void
  • Parameters

    Returns void

restoreState

  • restoreState(): void

rotateTransform

  • rotateTransform(angle: number): void

rotateTransform2

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

    • angle: number
    • x: number
    • y: number

    Returns void

saveState

  • saveState(): void

setBrush

  • Parameters

    • brush: Color | StiBrush
    • rect: Rectangle
    • Default value saveState: boolean = false
    • Default value REFisTransparent: any = null

    Returns boolean

setClip

setPen

  • setPen(objPen: any, saveState?: boolean): boolean
  • Parameters

    • objPen: any
    • Default value saveState: boolean = false

    Returns boolean

setPixel

strokePath

  • strokePath(pen: any): void

translateTransform

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

Generated using TypeDoc