48 lines
1.2 KiB
R
48 lines
1.2 KiB
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/symbolizers.R
|
|
\name{pmTextSymbolizer}
|
|
\alias{pmTextSymbolizer}
|
|
\title{Create a Text Symbolizer}
|
|
\usage{
|
|
pmTextSymbolizer(
|
|
font = "12px sans-serif",
|
|
fill = "#000000",
|
|
stroke = NULL,
|
|
width = 0,
|
|
labelProps = NULL,
|
|
textTransform = NULL,
|
|
...
|
|
)
|
|
}
|
|
\arguments{
|
|
\item{font}{Character. Font specification (e.g., "12px sans-serif").}
|
|
|
|
\item{fill}{Character. Text fill color. Default is "#000000".}
|
|
|
|
\item{stroke}{Character. Text stroke (halo) color. Default is NULL.}
|
|
|
|
\item{width}{Numeric. Stroke width for text halo. Default is 0.}
|
|
|
|
\item{labelProps}{List. Properties to use for label text, in order of
|
|
preference. Default is \code{list("name")}.}
|
|
|
|
\item{textTransform}{Character. Text transformation: "uppercase",
|
|
"lowercase", or NULL.}
|
|
|
|
\item{...}{Additional symbolizer options.}
|
|
}
|
|
\value{
|
|
A list representing the symbolizer configuration.
|
|
}
|
|
\description{
|
|
Creates a text symbolizer for rendering text labels.
|
|
}
|
|
\examples{
|
|
# Simple text label
|
|
pmTextSymbolizer(font = "12px Arial", fill = "black")
|
|
|
|
# Text with halo
|
|
pmTextSymbolizer(font = "14px sans-serif", fill = "black",
|
|
stroke = "white", width = 2)
|
|
|
|
}
|