Difference between revisions of "Polygon Layer"

From Synfig Studio :: Documentation
Jump to: navigation, search
(params list of Polygon layer)
m (Parameters of the Polygon Layers)
 
(7 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
{{Title|Polygon Layer}}
 
{{Title|Polygon Layer}}
 
{{Category|Layers}}
 
{{Category|Layers}}
 +
{{Category|Geometry}}
 +
{{Category|Primitive Layers}}
 +
{{NewTerminology}}
 
<!-- Page info end -->
 
<!-- Page info end -->
  
{{l|Image:Layer_polygon_icon.png|64px}}
+
{{l|Image:Layer_geometry_polygon_icon.png|64px}}
  
 
== About Polygon Layer ==
 
== About Polygon Layer ==
Line 16: Line 19:
 
The parameters of the Polygon layers are:
 
The parameters of the Polygon layers are:
  
{|border="0" align="left" style="border-collapse"  cellpadding="3" cellspacing="0"
+
{|{{Parameters}}
|-style="background:#c8c8c8"
+
 
|'''Name'''||'''Value'''||'''Type''' 
+
 
|-
 
|-
 
||{{l|Image:Type_real_icon.png|16px}} {{l|Z Depth Parameter|Z Depth}}
 
||{{l|Image:Type_real_icon.png|16px}} {{l|Z Depth Parameter|Z Depth}}
Line 35: Line 37:
  
 
|-style="background:#eeeeee"
 
|-style="background:#eeeeee"
||{{l|Image:Type_color_icon.png|16px}} Color
+
||{{l|Image:Type_color_icon.png|16px}} {{l|Color Editor Dialog|Color}}
||
+
|| {{Color|808080}}
{| style="width:95%; height:16px; background:gray; color:black" border="1"
+
|-
+
|}
+
 
||color
 
||color
  
 
|-style="background:#"
 
|-style="background:#"
||{{l|Image:Type_vector_icon.png|16px}} Origin
+
||{{l|Image:Type_vector_icon.png|16px}} {{l|Origin Parameter|Origin}}
 
||0.000000u,0.000000u
 
||0.000000u,0.000000u
 
||vector
 
||vector
  
 
|-style="background:#eeeeee"
 
|-style="background:#eeeeee"
||{{l|Image:Type_bool_icon.png|16px}} Invert
+
||{{l|Image:Type_bool_icon.png|16px}} {{l|Invert Parameter|Invert}}
||
+
|| {{Bool|}}
{| style="width:18px; height:16px" border="1"
+
|-
+
|}
+
 
||bool
 
||bool
  
 
|-style="background:#"
 
|-style="background:#"
||{{l|Image:Type_bool_icon.png|16px}} Antialiasing
+
||{{l|Image:Type_bool_icon.png|16px}} {{l|Antialiasing Parameter|Antialiasing}}
||
+
|| {{Bool|}}
{| style="width:18px; height:16px" border="1"
+
|-
+
|}
+
 
||bool
 
||bool
  
 
|-style="background:#eeeeee"
 
|-style="background:#eeeeee"
||{{l|Image:Type_real_icon.png|16px}} Feather
+
||{{l|Image:Type_real_icon.png|16px}} {{l|Feather Parameter|Feather}}
 
||0.000000u
 
||0.000000u
 
||real
 
||real
  
 
|-style="background:#"
 
|-style="background:#"
||{{l|Image:Type_integer_icon.png|16px}} Type of Feather
+
||{{l|Image:Type_integer_icon.png|16px}} {{l|Feather Parameter#Type of Feather|Type of Feather}}
 
||Fast Gaussian Blur
 
||Fast Gaussian Blur
 
||integer
 
||integer
  
 
|-style="background:#eeeeee"
 
|-style="background:#eeeeee"
||{{l|Image:Type_integer_icon.png|16px}} Winding Style
+
||{{l|Image:Type_integer_icon.png|16px}} {{l|Winding Style Parameter|Winding Style}}
 
||Non Zero
 
||Non Zero
 
||integer
 
||integer
  
 
|-style="background:#"
 
|-style="background:#"
||{{l|Image:Type_vector_icon.png|16px}} Vector List
+
||{{l|Image:Type_list_icon.png|16px}} {{l|Vector List Parameter|Vector List}}
 
||List
 
||List
 
||list (Dynamic)
 
||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):

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