PDFStyler
Sets the common PDF style attributes for a group of features destined for the GeoSpatial PDF Writer.
Parameters
Identity
Determines the name of the structure element associated with the incoming feature. Name must be set to a unique value per feature thus it is recommended this be set to an attribute containing unique string values.
Color
Specifies the pen color of the feature used to render the feature in the set color. The pen color determines the color of points, lines, arcs, area boundaries, and annotations.
Click the colored square to the right of the text field, edit the contents of the field directly. The color must be specified as r,g,b where each of r,g,b is a decimal number between 0.0 and 1.0.
Specifies the fill color for an area geometry on a feature used to render the interior feature in the set color.
The Fill Color parameter can be edited by clicking the colored square to the right of the text field, or by editing the contents of the field directly. The color must be specified as r,g,b where each of r,g,b is a decimal number between 0.0 and 1.0.
Specifies the opacity of the stroking color of the feature. A value of 1.0 is fully opaque, and 0.0 is completely transparent.
Specifies the opacity of the fill color of the feature. A value of 1.0 is fully opaque, and 0.0 is completely transparent.
Line Style
Specifies the line width in typographical points of line geometries and boundaries of area geometries. Points within half the line width perpendicular distance from the line path will be painted.
Specifies the cap style for the ends of lines. Valid values are:
- Butt Cap: Lines are squared off at the end and do not project past the end of the line,
- Round Cap: Semicircles with diameter equal to the line width cap the ends of lines, or
- Projecting Square Cap: Lines project past the end by a distance equal to half the line width and are squared off.
Specifies the shape of corners between segments of paths. Valid values are:
- Miter Join: Outer edges of segments are extended until they meet,
- Round Join: Arcs with diameter equal to the line width are drawn around corners, or
- Bevel Join: Two adjacent segments are finished with butt caps, and the notch beyond the ends is filled with a triangle.
Specifies a maximum on the ratio of the miter length to the line width. For example, a miter limit of 1.414 will bevel the ends of two segments meeting at an angle less than 90 degrees (the far corner will be at a distance sqrt(1^2+1^2)=sqrt(2) from the line).
The Line Dash Array and Line Dash Phase control the pattern of dashes and gaps used to stroke lines. The elements of both the dash array and the dash phase are expressed in user space units. An empty dash array and zero phase can be used to draw a solid line.
The Line Dash Array’s elements are numbers that specify the lengths of alternating dashes and gaps. The numbers must be nonnegative and not all zero. The Line Dash Phase specifies the distance into the dash pattern at which to start the dash.
When drawing paths consisting of several subpaths, the dash pattern is applied independently to each subpath.
Text
Refers to any valid TrueType font name, which you can choose from the dialog or enter directly in the parameter field. The font name is case-insensitive, and can also include optional style parameters according to the syntax:
<fontname>[,<fontsize>][,BOLD][,ITALIC][,STRIKEOUT][,UNDERLINE]
The brackets [ ] enclose optional items.
Interactivity
Specifies the string that will be displayed when an user hovers over the feature with the mouse cursor in a PDF viewer application.
Note: Interactive features are always drawn on top of non-interactive features, regardless of layer order.
Specifies the destination address to be resolved when a user clicks on the feature in a PDF viewer application that supports URI actions. In the common case of a URL, Adobe Acrobat Reader will open a web browser to resolve the address specified.
Note: Interactive features are always drawn on top of non-interactive features, regardless of layer order.
Usage Notes
For more information regarding PDF styling, see the "GeoSpatial PDF Writer" in the FME Readers and Writers manual.
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
Transformer Categories
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.