Polygon Layer

From Synfig Studio :: Documentation
Jump to: navigation, search
m (Text replace - '{{l|Category:' to '{{Category|')
(params list of Polygon layer)
Line 3: Line 3:
 
{{Category|Layers}}
 
{{Category|Layers}}
 
<!-- Page info end -->
 
<!-- Page info end -->
{{l|Image:polygon_icon.png|64px}}
+
 
 +
{{l|Image:Layer_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.
 
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}}.
 
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:
 +
 +
{|border="0" align="left" style="border-collapse"  cellpadding="3" cellspacing="0"
 +
|-style="background:#c8c8c8"
 +
|'''Name'''||'''Value'''||'''Type''' 
 +
|-
 +
||{{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}} Color
 +
||
 +
{| style="width:95%; height:16px; background:gray; color:black" border="1"
 +
|-
 +
|}
 +
||color
 +
 +
|-style="background:#"
 +
||{{l|Image:Type_vector_icon.png|16px}} Origin
 +
||0.000000u,0.000000u
 +
||vector
 +
 +
|-style="background:#eeeeee"
 +
||{{l|Image:Type_bool_icon.png|16px}} Invert
 +
||
 +
{| style="width:18px; height:16px" border="1"
 +
|-
 +
|}
 +
||bool
 +
 +
|-style="background:#"
 +
||{{l|Image:Type_bool_icon.png|16px}} Antialiasing
 +
||
 +
{| style="width:18px; height:16px" border="1"
 +
|-
 +
|}
 +
||bool
 +
 +
|-style="background:#eeeeee"
 +
||{{l|Image:Type_real_icon.png|16px}} Feather
 +
||0.000000u
 +
||real
 +
 +
|-style="background:#"
 +
||{{l|Image:Type_integer_icon.png|16px}} Type of Feather
 +
||Fast Gaussian Blur
 +
||integer
 +
 +
|-style="background:#eeeeee"
 +
||{{l|Image:Type_integer_icon.png|16px}} Winding Style
 +
||Non Zero
 +
||integer
 +
 +
|-style="background:#"
 +
||{{l|Image:Type_vector_icon.png|16px}} Vector List
 +
||List
 +
||list (Dynamic)
 +
 +
|}
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
  
 
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):
  
{{l|Image:Polygons.png}} {{l|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 {{l|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.

Revision as of 09:15, 12 March 2011

Languages Language: 

English


64px

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 vector icon.png Vector List List list (Dynamic)














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