File tree Expand file tree Collapse file tree 14 files changed +16
-5
lines changed Expand file tree Collapse file tree 14 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,9 @@ defmodule Scenic.Primitive.Arc do
37
37
38
38
This primitive recognizes the following styles
39
39
* [`hidden`](Scenic.Primitive.Style.Hidden.html) - show or hide the primitive
40
+ * [`scissor`](Scenic.Primitive.Style.Scissor.html) - "scissor rectangle" that drawing will be clipped to.
40
41
* [`fill`](Scenic.Primitive.Style.Fill.html) - fill in the area of the primitive
41
- * [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
42
+ * [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
42
43
43
44
## Usage
44
45
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ defmodule Scenic.Primitive.Circle do
18
18
19
19
This primitive recognizes the following styles
20
20
* [`hidden`](Scenic.Primitive.Style.Hidden.html) - show or hide the primitive
21
+ * [`scissor`](Scenic.Primitive.Style.Scissor.html) - "scissor rectangle" that drawing will be clipped to.
21
22
* [`fill`](Scenic.Primitive.Style.Fill.html) - fill in the area of the primitive
22
23
* [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
23
24
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ defmodule Scenic.Primitive.Ellipse do
19
19
20
20
This primitive recognizes the following styles
21
21
* [`hidden`](Scenic.Primitive.Style.Hidden.html) - show or hide the primitive
22
+ * [`scissor`](Scenic.Primitive.Style.Scissor.html) - "scissor rectangle" that drawing will be clipped to.
22
23
* [`fill`](Scenic.Primitive.Style.Fill.html) - fill in the area of the primitive
23
24
* [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
24
25
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ defmodule Scenic.Primitive.Line do
19
19
20
20
This primitive recognizes the following styles
21
21
* [`hidden`](Scenic.Primitive.Style.Hidden.html) - show or hide the primitive
22
+ * [`scissor`](Scenic.Primitive.Style.Scissor.html) - "scissor rectangle" that drawing will be clipped to.
22
23
* [`cap`](Scenic.Primitive.Style.Cap.html) - says how to draw the ends of the line.
23
24
* [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
24
25
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ defmodule Scenic.Primitive.Path do
18
18
19
19
This primitive recognizes the following styles
20
20
* [`hidden`](Scenic.Primitive.Style.Hidden.html) - show or hide the primitive
21
+ * [`scissor`](Scenic.Primitive.Style.Scissor.html) - "scissor rectangle" that drawing will be clipped to.
21
22
* [`fill`](Scenic.Primitive.Style.Fill.html) - fill in the area of the primitive
22
23
* [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
23
24
* [`cap`](Scenic.Primitive.Style.Cap.html) - says how to draw the ends of the line.
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ defmodule Scenic.Primitive.Quad do
21
21
22
22
This primitive recognizes the following styles
23
23
* [`hidden`](Scenic.Primitive.Style.Hidden.html) - show or hide the primitive
24
+ * [`scissor`](Scenic.Primitive.Style.Scissor.html) - "scissor rectangle" that drawing will be clipped to.
24
25
* [`fill`](Scenic.Primitive.Style.Fill.html) - fill in the area of the primitive
25
26
* [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
26
27
* [`join`](Scenic.Primitive.Style.Join.html) - control how segments are joined.
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ defmodule Scenic.Primitive.Rectangle do
19
19
20
20
This primitive recognizes the following styles
21
21
* [`hidden`](Scenic.Primitive.Style.Hidden.html) - show or hide the primitive
22
+ * [`scissor`](Scenic.Primitive.Style.Scissor.html) - "scissor rectangle" that drawing will be clipped to.
22
23
* [`fill`](Scenic.Primitive.Style.Fill.html) - fill in the area of the primitive
23
24
* [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
24
25
* [`join`](Scenic.Primitive.Style.Join.html) - control how segments are joined.
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ defmodule Scenic.Primitive.RoundedRectangle do
20
20
21
21
This primitive recognizes the following styles
22
22
* [`hidden`](Scenic.Primitive.Style.Hidden.html) - show or hide the primitive
23
+ * [`scissor`](Scenic.Primitive.Style.Scissor.html) - "scissor rectangle" that drawing will be clipped to.
23
24
* [`fill`](Scenic.Primitive.Style.Fill.html) - fill in the area of the primitive
24
25
* [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
25
26
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ defmodule Scenic.Primitive.Sector do
29
29
30
30
This primitive recognizes the following styles
31
31
* [`hidden`](Scenic.Primitive.Style.Hidden.html) - show or hide the primitive
32
+ * [`scissor`](Scenic.Primitive.Style.Scissor.html) - "scissor rectangle" that drawing will be clipped to.
32
33
* [`fill`](Scenic.Primitive.Style.Fill.html) - fill in the area of the primitive
33
34
* [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
34
35
Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ defmodule Scenic.Primitive.Sprites do
43
43
Sprites are common in the game industry and can be used to
44
44
create animations, manage large numbers of small images and more.
45
45
46
- For example, in many games a character walking is built as a series
46
+ For example, in many games a character walking is built as a series
47
47
of frames in an animation that all live together in a single image
48
48
file. When it comes time to draw, the different frames are rendered
49
- to the screen on after the other to give the appearance that the
49
+ to the screen one after the other to give the appearance that the
50
50
character is animating.
51
51
52
52
A simpler example would be an image of a device with a blinking
You can’t perform that action at this time.
0 commit comments