PdfElixide.Color.RGB (pdf_elixide v0.23.0)

Copy Markdown View Source

A DeviceRGB color — red, green, and blue, each in the 0.0..1.0 range in a well-formed PDF; see "Component range" in PdfElixide.Color for what a malformed one can hold.

This is the only color shape text and vector graphics can take; see PdfElixide.Color for why.

Summary

Types

t()

@type t() :: %PdfElixide.Color.RGB{b: float(), g: float(), r: float()}