Difference between revisions of "Polygon Layer"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (Added icon)
m (Parameters of the Polygon Layers)
 
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Image:polygon_icon.png|64px]]
+
<!-- Page info -->
 +
{{Title|Polygon Layer}}
 +
{{Category|Layers}}
 +
{{Category|Geometry}}
 +
{{Category|Primitive Layers}}
 +
{{NewTerminology}}
 +
<!-- Page info end -->
  
Polygon Layers are made by the [[Polygon Tool]].  Their use is deprecated, with [[Region Layer|Region Layers]] being the preferred layer type.
+
{{l|Image:Layer_geometry_polygon_icon.png|64px}}
  
Note that you can make regular polygons with even numbers of sides using the [[Star_Layer#Regular_2N-sided_Polygons|Star Layer]].
+
== 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):
 
Here are some example polygons (in case you forgot what they look like):
  
[[Image:Polygons.png]] [[Media:Polygons.sifz|source .sif file]]
+
{{l|Image:Polygons.png}}
 +
{{l|Media:Polygons.sifz|source .sif file}}
  
Note that the edges can cross each other.  When they do, the [[Winding Style Parameter]] comes into play.
+
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