PdfElixide.Color.RGB (pdf_elixide v0.9.0)

Copy Markdown View Source

A DeviceRGB color — red, green, and blue, each in the 0.0..1.0 range.

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()}