Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DrawListRef

Index

Properties

flags

Methods

addBezierCurve

  • addBezierCurve(p1: vec2, p2: vec2, p3: vec2, p4: vec2, col: vec4, thickness: number, numSegments?: number): void

addCircle

  • addCircle(center: vec2, radius: number, col: vec4, numSegments?: number, thickness?: number): void

addCircleFilled

  • addCircleFilled(center: vec2, radius: number, col: vec4, numSegments?: number): void

addConvexPolyFilled

  • addConvexPolyFilled(points: vec2[], col: vec4): void

addDrawCmd

  • addDrawCmd(): void

addImage

addImageQuad

addImageRounded

addLine

  • addLine(p1: vec2, p2: vec2, col: vec4, thickness?: number): void

addNgon

  • addNgon(center: vec2, radius: number, col: vec4, numSegments: number, thickness?: number): void

addNgonFilled

  • addNgonFilled(center: vec2, radius: number, col: vec4, numSegments: number): void

addPolyline

  • addPolyline(points: vec2[], col: vec4, closed: boolean, thickness: number): void

addQuad

addQuadFilled

addRect

addRectFilled

addRectFilledMultiColor

  • addRectFilledMultiColor(pMin: vec2, pMax: vec2, colUprLeft: vec4, colUprRight: vec4, colBotRight: vec4, colBotLeft: vec4): void

addText

  • addText(pos: vec2, col: vec4, text: string): void

addTextEx

  • addTextEx(font: FontRef, fontSize: number, pos: vec2, col: vec4, text: string, wrapWidth?: number): void

addTriangle

  • addTriangle(p1: vec2, p2: vec2, p3: vec2, col: vec4, thickness?: number): void

addTriangleFilled

getClipRectMax

  • getClipRectMax(): vec2

getClipRectMin

  • getClipRectMin(): vec2

pathArcTo

  • pathArcTo(center: vec2, radius: number, aMin: number, aMax: number, numSegments?: number): void

pathArcToFast

  • pathArcToFast(center: vec2, radius: number, aMin12: number, aMax12: number): void

pathBezierCurveTo

  • pathBezierCurveTo(p2: vec2, p3: vec2, p4: vec2, numSegments?: number): void

pathClear

  • pathClear(): void

pathFillConvex

  • pathFillConvex(col: vec4): void

pathLineTo

  • pathLineTo(pos: vec2): void

pathLineToMergeDuplicate

  • pathLineToMergeDuplicate(pos: vec2): void

pathRect

pathStroke

  • pathStroke(col: vec4, closed: boolean, thickness?: number): void

popClipRect

  • popClipRect(): void

popTextureId

  • popTextureId(): void

pushClipRect

  • pushClipRect(clipRectMin: vec2, clipRectMax: vec2, intersectWithCurrentClipRect?: boolean): void

pushClipRectFullScreen

  • pushClipRectFullScreen(): void

pushTextureId

  • pushTextureId(textureId: number): void

Generated using TypeDoc