Difference between revisions of "Polygon Layer"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (New page: Polygon Layers are made by the Polygon Tool. Their use is deprecated, with Region Layers being the preferred layer type. Note that you can make regular polygons with...)
 
m (Parameters of the Polygon Layers)
 
(15 intermediate revisions by 7 users not shown)
Line 1: Line 1:
Polygon Layers are made by the [[Polygon Tool]].  Their use is deprecated, with [[Region Layer|Region Layers]] being the preferred layer type.
+
<!-- Page info -->
 +
{{Title|Polygon Layer}}
 +
{{Category|Layers}}
 +
{{Category|Geometry}}
 +
{{Category|Primitive Layers}}
 +
{{NewTerminology}}
 +
<!-- Page info end -->
  
Note that you can make regular polygons with even numbers of sides using the [[Star Layer]].
+
{{l|Image:Layer_geometry_polygon_icon.png|64px}}
 +
 
 +
== About Polygon Layer ==
 +
 
 +
Polygon Layers are made by the {{l|Polygon Tool}}.  Their use is deprecated, with {{l|Region Layer|Region Layers}} being the preferred layer type.
 +
 
 +
Note that you can make regular polygons with even numbers of sides using the {{l|Star_Layer#Regular_2N-sided_Polygons|Star Layer}}.
 +
 
 +
== Parameters of the Polygon Layers ==
 +
 
 +
The parameters of the Polygon layers are:
 +
 
 +
{|{{Parameters}}
 +
 
 +
|-
 +
||{{l|Image:Type_real_icon.png|16px}} {{l|Z Depth Parameter|Z Depth}}
 +
||0.000000
 +
||real
 +
 
 +
|-style="background:#eeeeee"
 +
||{{l|Image:Type_real_icon.png|16px}} {{l|Amount Parameter|Amount}}
 +
||1.000000
 +
||real
 +
 
 +
|-
 +
||{{l|Image:Type_integer_icon.png|16px}} {{l|Blend Method|Blend Method}}
 +
||Composite
 +
||integer
 +
 
 +
|-style="background:#eeeeee"
 +
||{{l|Image:Type_color_icon.png|16px}} {{l|Color Editor Dialog|Color}}
 +
|| {{Color|808080}}
 +
||color
 +
 
 +
|-style="background:#"
 +
||{{l|Image:Type_vector_icon.png|16px}} {{l|Origin Parameter|Origin}}
 +
||0.000000u,0.000000u
 +
||vector
 +
 
 +
|-style="background:#eeeeee"
 +
||{{l|Image:Type_bool_icon.png|16px}} {{l|Invert Parameter|Invert}}
 +
|| {{Bool|}}
 +
||bool
 +
 
 +
|-style="background:#"
 +
||{{l|Image:Type_bool_icon.png|16px}} {{l|Antialiasing Parameter|Antialiasing}}
 +
|| {{Bool|}}
 +
||bool
 +
 
 +
|-style="background:#eeeeee"
 +
||{{l|Image:Type_real_icon.png|16px}} {{l|Feather Parameter|Feather}}
 +
||0.000000u
 +
||real
 +
 
 +
|-style="background:#"
 +
||{{l|Image:Type_integer_icon.png|16px}} {{l|Feather Parameter#Type of Feather|Type of Feather}}
 +
||Fast Gaussian Blur
 +
||integer
 +
 
 +
|-style="background:#eeeeee"
 +
||{{l|Image:Type_integer_icon.png|16px}} {{l|Winding Style Parameter|Winding Style}}
 +
||Non Zero
 +
||integer
 +
 
 +
|-style="background:#"
 +
||{{l|Image:Type_list_icon.png|16px}} {{l|Vector List Parameter|Vector List}}
 +
||List
 +
||list (Dynamic)
 +
 
 +
|-
 +
|}
 +
 
 +
== Examples ==
 +
 
 +
Here are some example polygons (in case you forgot what they look like):
 +
 
 +
{{l|Image:Polygons.png}}
 +
{{l|Media:Polygons.sifz|source .sif file}}
 +
 
 +
Note that the edges can cross each other.  When they do, the {{l|Winding Style Parameter}} comes into play.

Latest revision as of 14:14, 5 March 2017

Languages Language: 

English


Layer geometry polygon icon.png

About Polygon Layer

Polygon Layers are made by the Polygon Tool. Their use is deprecated, with Region Layers being the preferred layer type.

Note that you can make regular polygons with even numbers of sides using the Star Layer.

Parameters of the Polygon Layers

The parameters of the Polygon layers are:

Name Value Type
Type real icon.png Z Depth 0.000000 real
Type real icon.png Amount 1.000000 real
Type integer icon.png Blend Method Composite integer
Type color icon.png Color
 
color
Type vector icon.png Origin 0.000000u,0.000000u vector
Type bool icon.png Invert
 
bool
Type bool icon.png Antialiasing
 
bool
Type real icon.png Feather 0.000000u real
Type integer icon.png Type of Feather Fast Gaussian Blur integer
Type integer icon.png Winding Style Non Zero integer
Type list icon.png Vector List List list (Dynamic)

Examples

Here are some example polygons (in case you forgot what they look like):

Image:Polygons.png source .sif file

Note that the edges can cross each other. When they do, the Winding Style Parameter comes into play.


Languages Language: 

English