You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/common/sif_file_format.rst
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -47,23 +47,23 @@ Content model
47
47
Attributes
48
48
^^^^^^^^^^
49
49
50
-
:id: <optional> <string> canvas identifier. Ignored if it is the root canvas.
50
+
:id: <optional> <string> canvas identifier. Ignored if it is the root canvas. Default: "".
51
51
:guid: <optional>
52
52
:version: <optional> <string> the canvas version. Current default: "1.2".
53
-
:width: <optional> <positive integer>
54
-
:height: <optional> <positive integer>
55
-
:xres: <optional> <positive real>
56
-
:yres: <optional> <positive real>
57
-
:gamma-r: <optional> <positive real> The color correction factor for red component (since 1.1)
58
-
:gamma-g: <optional> <positive real> The color correction factor for green component (since 1.1)
59
-
:gamma-b: <optional> <positive real> The color correction factor for blue component (since 1.1)
60
-
:fps: <optional> <positive real> How many frames should be rendered per second
61
-
:begin-time: <optional> <Time>
62
-
:end-time: <optional> <Time>
63
-
:antialias: <optional> <positive integer> The antialias amount
64
-
:view-box: <optional> <list of 4 real> The 2D coordinates of top-left point and bottom-right point of the view box, in this order, separated by a single space: tl_x tl_y br_x br_y
65
-
:bgcolor: <optional> <list of 4 real> Background color represented by red, green, blue and alpha components, separated by single space. Values in the range (0.0, 1.0).
66
-
:focus: <optional> <list of 2 real> The canvas focus point (for zooming). The point coordinates are separated by a single space.
:gamma-r: <optional> <positive real> The color correction factor for red component. Default: 1. (since 1.1)
58
+
:gamma-g: <optional> <positive real> The color correction factor for green component. Default: 1. (since 1.1)
59
+
:gamma-b: <optional> <positive real> The color correction factor for blue component. Default: 1. (since 1.1)
60
+
:fps: <optional> <positive real> How many frames should be rendered per second. Default: 24fps.
61
+
:begin-time: <optional> <Time> Default: 0.
62
+
:end-time: <optional> <Time> Default: 0.
63
+
:antialias: <optional> <positive integer> The antialias amount. Default: 2.
64
+
:view-box: <optional> <list of 4 real> The 2D coordinates of top-left point and bottom-right point of the view box, in this order, separated by a single space: tl_x tl_y br_x br_y. Default: (-4, 2.25), (4, -2.25).
65
+
:bgcolor: <optional> <list of 4 real> Background color represented by red, green, blue and alpha components, separated by single space. Values in the range (0.0, 1.0). Default: gray (0.5 0.5 0.5 1.0)
66
+
:focus: <optional> <list of 2 real> The canvas focus point (for zooming). The point coordinates are separated by a single space. Default: (0, 0)
67
67
68
68
.. _canvas_id:
69
69
A canvas 'id' may be any string without '#' and ':' characters. When a node refers to a canvas, it will use its 'id' to identify it.
0 commit comments