Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
hpdf
v0.9.7
Hpdf
Annotation
AnnotationHighlightMode
AnnotationIcon
Base14
BaseCell
BlendMode
ByteType
Cell
ChineseSimplifiedFonts
ChineseTraditionalFonts
CMYK
ColorSpace
CompressionMode
Date
Destination
Doc
Encoder
EncoderType
Encodings
EncryptMode
Error
Font
FontLibrary
GMode
Grid
Helper
Image
InfoType
JapaneseFonts
KoreanFonts
Letter
LetterDIN5008
InfoBox
LetterDIN5008A
LetterDIN5008B
LetterDINA4
LineCap
LineJoin
LinkAnnotation
MeasuredText
Outline
Page
PageDirection
PageLayout
PageMode
PageNumStyle
PageSizes
Permission
Point
Raw
CmykColor
CmykImage
GrayImage
Image
RgbColor
RgbImage
Rectangle
RGB
Row
Size
Table
TextAlignment
TextAnnotation
TextCell
TextRenderingMode
TransitionStyle
TransMatrix
WritingMode
Generated using Crystal 1.10.1
2024-04-22 03:17:35 UTC
struct
Hpdf::
RGB
Hpdf::RGB
Struct
Value
Object
Defined in:
hpdf/structs.cr
Constructors
.new
(r : Float32, g : Float32, b : Float32)
.new
(point : LibHaru::RGB)
Instance Method Summary
#b
: Float32
#b=
(b : Float32)
#g
: Float32
#g=
(g : Float32)
#r
: Float32
#r=
(r : Float32)
Constructor Detail
def self.
new
(r : Float32, g : Float32, b : Float32)
#
[
View source
]
def self.
new
(point : LibHaru::RGB)
#
[
View source
]
Instance Method Detail
def
b
: Float32
#
[
View source
]
def
b=
(b : Float32)
#
[
View source
]
def
g
: Float32
#
[
View source
]
def
g=
(g : Float32)
#
[
View source
]
def
r
: Float32
#
[
View source
]
def
r=
(r : Float32)
#
[
View source
]