Expand description
Sciter’s platform independent graphics interface.
Used in custom behaviors / event handlers to draw on element’s surface in native code.
Essentially this mimics Graphics
scripting object as close as possible.
Structs§
- Graphics
- Graphics object. Represents graphic surface of the element.
- Image
- Graphics image object.
- Path
- Graphics path object.
- State
- A graphics state guard.
- Text
- Text layout object.
- Text
Metrics - Metrics of a text layout object.
Enums§
- DRAW_
PATH - Path drawing mode.
- GRAPHIN_
RESULT - Type of the result value for Sciter Graphics functions.
- LINE_
CAP - Line drawing cap mode.
- LINE_
JOIN - Line drawing join mode.
- Save
Image Encoding - Supported image encodings for
Image.save()
.
Functions§
- rgb
- Construct a color value (in
RGBA
form) from thered
,green
andblue
components. - rgba
- Construct a color value (in
RGBA
form) from thered
,green
,blue
andopacity
components.