Polygon Layer
From Synfig Studio :: Documentation
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: | + | |
+ | {{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
64pxAbout 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 |
Z Depth | 0.000000 | real |
Amount | 1.000000 | real |
Blend Method | Composite | integer |
Color |
|
color |
Origin | 0.000000u,0.000000u | vector |
Invert |
|
bool |
Antialiasing |
|
bool |
Feather | 0.000000u | real |
Type of Feather | Fast Gaussian Blur | integer |
Winding Style | Non Zero | integer |
Vector List | List | list (Dynamic) |
Here are some example polygons (in case you forgot what they look like):
Note that the edges can cross each other. When they do, the Winding Style Parameter comes into play.