54 lines
1.3 KiB
R
54 lines
1.3 KiB
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/symbolizers.R
|
|
\name{pmLineSymbolizer}
|
|
\alias{pmLineSymbolizer}
|
|
\title{Create a Line Symbolizer}
|
|
\usage{
|
|
pmLineSymbolizer(
|
|
color = "#000000",
|
|
width = 1,
|
|
dash = NULL,
|
|
dashColor = NULL,
|
|
dashWidth = NULL,
|
|
lineCap = NULL,
|
|
lineJoin = NULL,
|
|
opacity = 1,
|
|
...
|
|
)
|
|
}
|
|
\arguments{
|
|
\item{color}{Character. Line color. Default is "#000000".}
|
|
|
|
\item{width}{Numeric or function. Line width in pixels. Can be a fixed
|
|
value or a zoom-dependent specification.}
|
|
|
|
\item{dash}{List or NULL. Dash pattern as a vector of numbers, e.g.,
|
|
\code{c(4, 2)} for 4px dash, 2px gap.}
|
|
|
|
\item{dashColor}{Character. Color for dashes if using dash pattern.}
|
|
|
|
\item{dashWidth}{Numeric. Width of dashes.}
|
|
|
|
\item{lineCap}{Character. Line cap style: "butt", "round", or "square".}
|
|
|
|
\item{lineJoin}{Character
|
|
. Line join style: "miter", "round", or "bevel".}
|
|
|
|
\item{opacity}{Numeric. Line opacity from 0 to 1. Default is 1.}
|
|
|
|
\item{...}{Additional symbolizer options.}
|
|
}
|
|
\value{
|
|
A list representing the symbolizer configuration.
|
|
}
|
|
\description{
|
|
Creates a line symbolizer for rendering line features.
|
|
}
|
|
\examples{
|
|
# Simple black line
|
|
pmLineSymbolizer(color = "black", width = 2)
|
|
|
|
# Dashed line
|
|
pmLineSymbolizer(color = "gray", width = 1, dash = c(4, 2))
|
|
|
|
}
|