-
Notifications
You must be signed in to change notification settings - Fork 0
@ralphschuler.webgl shader factory.<internal>.Path2D
@ralphschuler/webgl-shader-factory.<internal>.Path2D
This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired.
-
↳
Path2D
▸ addPath(path
, transform?
): void
Adds to the path the path given by the argument.
Name | Type |
---|---|
path |
Path2D |
transform? |
DOMMatrix2DInit |
void
node_modules/typescript/lib/lib.dom.d.ts:16841
▸ arc(x
, y
, radius
, startAngle
, endAngle
, counterclockwise?
): void
Name | Type |
---|---|
x |
number |
y |
number |
radius |
number |
startAngle |
number |
endAngle |
number |
counterclockwise? |
boolean |
void
node_modules/typescript/lib/lib.dom.d.ts:5388
▸ arcTo(x1
, y1
, x2
, y2
, radius
): void
Name | Type |
---|---|
x1 |
number |
y1 |
number |
x2 |
number |
y2 |
number |
radius |
number |
void
node_modules/typescript/lib/lib.dom.d.ts:5390
▸ bezierCurveTo(cp1x
, cp1y
, cp2x
, cp2y
, x
, y
): void
Name | Type |
---|---|
cp1x |
number |
cp1y |
number |
cp2x |
number |
cp2y |
number |
x |
number |
y |
number |
void
node_modules/typescript/lib/lib.dom.d.ts:5392
▸ closePath(): void
void
node_modules/typescript/lib/lib.dom.d.ts:5394
▸ ellipse(x
, y
, radiusX
, radiusY
, rotation
, startAngle
, endAngle
, counterclockwise?
): void
Name | Type |
---|---|
x |
number |
y |
number |
radiusX |
number |
radiusY |
number |
rotation |
number |
startAngle |
number |
endAngle |
number |
counterclockwise? |
boolean |
void
node_modules/typescript/lib/lib.dom.d.ts:5396
▸ lineTo(x
, y
): void
Name | Type |
---|---|
x |
number |
y |
number |
void
node_modules/typescript/lib/lib.dom.d.ts:5398
▸ moveTo(x
, y
): void
Name | Type |
---|---|
x |
number |
y |
number |
void
node_modules/typescript/lib/lib.dom.d.ts:5400
▸ quadraticCurveTo(cpx
, cpy
, x
, y
): void
Name | Type |
---|---|
cpx |
number |
cpy |
number |
x |
number |
y |
number |
void
node_modules/typescript/lib/lib.dom.d.ts:5402
▸ rect(x
, y
, w
, h
): void
Name | Type |
---|---|
x |
number |
y |
number |
w |
number |
h |
number |
void
node_modules/typescript/lib/lib.dom.d.ts:5404
▸ roundRect(x
, y
, w
, h
, radii?
): void
Name | Type |
---|---|
x |
number |
y |
number |
w |
number |
h |
number |
radii? |
number | DOMPointInit | (number | DOMPointInit )[] |
void
node_modules/typescript/lib/lib.dom.d.ts:5406
- @ralphschuler/ai-function-caller
- index
- types/AIFunction
- types/Message
- @ralphschuler/assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- error
- index
- util
- @ralphschuler/better-map
- @ralphschuler/better-set
- @ralphschuler/binary-serializer
- @ralphschuler/bit-mask
- @ralphschuler/complex-compare
- @ralphschuler/i811n
- @ralphschuler/logger
- Color
- ColorMap
- Logger
- animations/BallonAnimation
- animations/BaseAnimation
- animations/BombAnimation
- animations/BouncingBallAnimation
- animations/ClockAnimation
- animations/DotsAnimation
- animations/HorizontalBarAnimation
- animations/PongAnimation
- animations/ProgressAnimation
- animations/ProgressBarAnimation
- animations/SpinnerAnimation
- animations/VerticalBarAnimation
- enums/LogLevel
- index
- interfaces/IColor
- interfaces/IMessage
- types/ColorName
- types/Colors
- @ralphschuler/lsystem
- @ralphschuler/mixin-class-factory
- @ralphschuler/neuronal-network
- @ralphschuler/parser-combinator
- index
- inputTypes
- parser
- unicode
- @ralphschuler/prom-metrics-decorator
- @ralphschuler/prom-metrics-parser
- @ralphschuler/random
- PseudoRandomItemSelector
- PseudoRandomNumberGenerator
- Seed
- index
- strategies
- strategy
- strategy
- strategy
- strategy
- strategy
- strategy
- types
- type
- type
- type
- @ralphschuler/safe-array
- @ralphschuler/slot-mashine
- @ralphschuler/state-store
- StateStore
- index
- type
- type
- type
- type
- type
- type
- type
- type
- util
- @ralphschuler/stats-tracker
- @ralphschuler/ts-error
- error
- index
- type
- util
- util
- util
- util
- @ralphschuler/webgl-sand-engine
- index
- pixel-renderer
- @ralphschuler/webgl-shader-factory
- "node:stream/consumers"
- "node:stream/promises"
- ChatCompletionSnapshot
- Choice
- Message
- ToolCall
- EventEmitter
- FormData
- OpenAI
- OpenAI
- Audio
- Speech
- Transcriptions
- Translations
- Beta
- Assistants
- Assistant
- AssistantCreateParams
- AssistantUpdateParams
- Files
- Chat
- Threads
- Messages
- Files
- MessageContentImageFile
- MessageContentText
- Text
- FileCitation
- FilePath
- Runs
- RequiredActionFunctionToolCall
- Run
- RequiredAction
- RunCreateParams
- RunSubmitToolOutputsParams
- Steps
- CodeToolCall
- CodeInterpreter
- Image
- FunctionToolCall
- MessageCreationStepDetails
- RunStep
- ThreadCreateAndRunParams
- Thread
- ThreadCreateParams
- Chat
- Completions
- ChatCompletion
- ChatCompletionAssistantMessageParam
- ChatCompletionChunk
- Choice
- Delta
- ToolCall
- ChatCompletionContentPartImage
- ChatCompletionCreateParams
- ChatCompletionMessage
- ChatCompletionMessageToolCall
- ChatCompletionNamedToolChoice
- Completions
- CompletionChoice
- CompletionCreateParams
- Edits
- Edit
- Embeddings
- CreateEmbeddingResponse
- Files
- FineTunes
- FineTune
- FineTuneCreateParams
- FineTuneListEventsParams
- FineTuning
- Jobs
- FineTuningJob
- JobCreateParams
- Images
- Models
- Moderations
- Moderation
- internal
- finished
- pipeline
- "node:stream/consumers"
- "node:stream/promises"
- EventEmitter
- internal
- finished
- pipeline
- Counter
- Gauge
- Histogram
- Summary