Skip to content

Commit 99725e1

Browse files
authored
Merge pull request #302 from seb3s/patch-2
Patch 2
2 parents a9d0bca + c902c13 commit 99725e1

File tree

14 files changed

+16
-5
lines changed

14 files changed

+16
-5
lines changed

lib/scenic/primitive/arc.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ defmodule Scenic.Primitive.Arc do
3737
3838
This primitive recognizes the following styles
3939
* [`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.
4041
* [`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.
4243
4344
## Usage
4445

lib/scenic/primitive/circle.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ defmodule Scenic.Primitive.Circle do
1818
1919
This primitive recognizes the following styles
2020
* [`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.
2122
* [`fill`](Scenic.Primitive.Style.Fill.html) - fill in the area of the primitive
2223
* [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
2324

lib/scenic/primitive/ellipse.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ defmodule Scenic.Primitive.Ellipse do
1919
2020
This primitive recognizes the following styles
2121
* [`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.
2223
* [`fill`](Scenic.Primitive.Style.Fill.html) - fill in the area of the primitive
2324
* [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
2425

lib/scenic/primitive/line.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ defmodule Scenic.Primitive.Line do
1919
2020
This primitive recognizes the following styles
2121
* [`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.
2223
* [`cap`](Scenic.Primitive.Style.Cap.html) - says how to draw the ends of the line.
2324
* [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
2425

lib/scenic/primitive/path.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ defmodule Scenic.Primitive.Path do
1818
1919
This primitive recognizes the following styles
2020
* [`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.
2122
* [`fill`](Scenic.Primitive.Style.Fill.html) - fill in the area of the primitive
2223
* [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
2324
* [`cap`](Scenic.Primitive.Style.Cap.html) - says how to draw the ends of the line.

lib/scenic/primitive/quad.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ defmodule Scenic.Primitive.Quad do
2121
2222
This primitive recognizes the following styles
2323
* [`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.
2425
* [`fill`](Scenic.Primitive.Style.Fill.html) - fill in the area of the primitive
2526
* [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
2627
* [`join`](Scenic.Primitive.Style.Join.html) - control how segments are joined.

lib/scenic/primitive/rectangle.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ defmodule Scenic.Primitive.Rectangle do
1919
2020
This primitive recognizes the following styles
2121
* [`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.
2223
* [`fill`](Scenic.Primitive.Style.Fill.html) - fill in the area of the primitive
2324
* [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
2425
* [`join`](Scenic.Primitive.Style.Join.html) - control how segments are joined.

lib/scenic/primitive/rounded_rectangle.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ defmodule Scenic.Primitive.RoundedRectangle do
2020
2121
This primitive recognizes the following styles
2222
* [`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.
2324
* [`fill`](Scenic.Primitive.Style.Fill.html) - fill in the area of the primitive
2425
* [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
2526

lib/scenic/primitive/sector.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ defmodule Scenic.Primitive.Sector do
2929
3030
This primitive recognizes the following styles
3131
* [`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.
3233
* [`fill`](Scenic.Primitive.Style.Fill.html) - fill in the area of the primitive
3334
* [`stroke`](Scenic.Primitive.Style.Stroke.html) - stroke the outline of the primitive. In this case, only the curvy part.
3435

lib/scenic/primitive/sprites.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ defmodule Scenic.Primitive.Sprites do
4343
Sprites are common in the game industry and can be used to
4444
create animations, manage large numbers of small images and more.
4545
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
4747
of frames in an animation that all live together in a single image
4848
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
5050
character is animating.
5151
5252
A simpler example would be an image of a device with a blinking

0 commit comments

Comments
 (0)