protomapr/man/pmPolygonSymbolizer.Rd
2026-03-06 15:46:39 +11:00

43 lines
1 KiB
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/symbolizers.R
\name{pmPolygonSymbolizer}
\alias{pmPolygonSymbolizer}
\title{Create a Polygon Symbolizer}
\usage{
pmPolygonSymbolizer(
fill = "#cccccc",
stroke = NULL,
width = 1,
opacity = 1,
pattern = NULL,
...
)
}
\arguments{
\item{fill}{Character. Fill color for the polygon. Can be a CSS color
string or a function specification.}
\item{stroke}{Character. Stroke (outline) color. Default is NULL (no stroke).}
\item{width}{Numeric. Stroke width in pixels. Default is 1.}
\item{opacity}{Numeric. Fill opacity from 0 to 1. Default is 1.}
\item{pattern}{Character. Fill pattern. One of NULL, "hatch", or "dot".}
\item{...}{Additional symbolizer options.}
}
\value{
A list representing the symbolizer configuration.
}
\description{
Creates a polygon symbolizer for rendering filled polygon features.
}
\examples{
# Simple blue fill
pmPolygonSymbolizer(fill = "steelblue")
# With stroke
pmPolygonSymbolizer(fill = "#f0f0f0", stroke = "#333", width = 2)
}