DrawingImmediate
Frame-scoped drawing through layer paint callbacks.
Immediate commands render during a paint callback and return no retained object:
- Connect a callback to
GetPaint. - Issue drawing commands on every frame.
- Disconnect when finished.
The primitive queue has a per-frame limit, and similarly named shapes may differ in argument order. See drawing each frame for a complete callback.
Functions
| Function | Purpose |
|---|---|
| DrawingImmediate.GetPaint | Returns the paint signal for a drawing layer. |
| DrawingImmediate.Line | Draws a Line primitive for the current paint frame. |
| DrawingImmediate.Circle | Draws a Circle primitive for the current paint frame. |
| DrawingImmediate.FilledCircle | Draws a FilledCircle primitive for the current paint frame. |
| DrawingImmediate.Triangle | Draws a Triangle primitive for the current paint frame. |
| DrawingImmediate.FilledTriangle | Draws a FilledTriangle primitive for the current paint frame. |
| DrawingImmediate.Rectangle | Draws a Rectangle primitive for the current paint frame. |
| DrawingImmediate.FilledRectangle | Draws a FilledRectangle primitive for the current paint frame. |
| DrawingImmediate.Quad | Draws a Quad primitive for the current paint frame. |
| DrawingImmediate.FilledQuad | Draws a FilledQuad primitive for the current paint frame. |
| DrawingImmediate.Text | Draws a Text primitive for the current paint frame. |
| DrawingImmediate.OutlinedText | Draws a OutlinedText primitive for the current paint frame. |
