% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/heatmap_border.R
\name{heatmap_border_spec}
\alias{heatmap_border_spec}
\alias{heatmap_border_enabled}
\alias{heatmap_border_color}
\alias{heatmap_border_size_value}
\alias{heatmap_border_gp}
\alias{heatmap_legend_border}
\title{Normalize ComplexHeatmap border settings}
\usage{
heatmap_border_spec(border = NULL, palcolor = "black", size = 1)

heatmap_border_enabled(border)

heatmap_border_color(border, palcolor = "black")

heatmap_border_size_value(size)

heatmap_border_gp(border, color, size = 1)

heatmap_legend_border(border, color)
}
\arguments{
\item{border}{`NULL`, a logical border flag, or a non-empty colour string.}

\item{palcolor}{Fallback border colour when `border` is not a colour string.}

\item{size}{Border line width. Invalid or negative values use `1`.}

\item{color}{Fallback border colour used by the `gp` and legend helpers.}
}
\value{
A list with `enabled`, `color`, `size`, `gp`, and `legend_border`.
}
\description{
Normalize a heatmap border flag, optional colour override, and line width
into values accepted by `ComplexHeatmap::Heatmap` and
`ComplexHeatmap::Legend`.
}
