sld:Stroke
A "Stroke" specifies the appearance of a linear geometry. It is defined in parallel with SVG strokes. The following SvgParameters may be used: "stroke" (color), "stroke-opacity", "stroke-width", "stroke-linejoin", "stroke-linecap", "stroke-dasharray", and "stroke-dashoffset". Others are not officially supported.
Element information
Namespace: http://niem.gov/niem/external/ogc-sld/1.0.20/dhs-gmo/1.0.0
Schema document: external/ogc-sld/1.0.20/dhs-gmo/1.0.0/sld.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Sequence [1..1]
- Choice [0..1]
- sld:GraphicFill A "GraphicFill" defines repeated-graphic filling (stippling) pattern for an area geometry.
- sld:GraphicStroke A "GraphicStroke" defines a repated-linear graphic pattern to be used for stroking a line.
- sld:SvgParameter [0..*] A "SvgParameter" refers to an SVG/CSS graphical-formatting parameter. The parameter is identified using the "name" attribute and the content of the element gives the SVG/CSS-coded value.
- Choice [0..1]
Attributes
None
Used in
- Anonymous type of element sld:LineSymbol
- Anonymous type of element sld:Mark
- Anonymous type of element sld:PolygonSymbol
Sample instance
<sld:Stroke> <sld:GraphicFill> <sld:Graphic> <sld:ExternalGraphic>... </sld:ExternalGraphic> <sld:Opacity>Any text, intermingled with:... </sld:Opacity> <sld:Size>Any text, intermingled with:... </sld:Size> <sld:Rotation>Any text, intermingled with:... </sld:Rotation> </sld:Graphic> </sld:GraphicFill> <sld:SvgParameter name="string">Any text, intermingled with: <ogc:Add> <ogc:Add>... </ogc:Add> </ogc:Add> </sld:SvgParameter> </sld:Stroke>