printed ~master (2024-08-05T00:29:54Z)
Dub
Repo
Brush
printed
canvas
irenderer
Undocumented in source.
struct
Brush {
ubyte
[
4
]
rgba
;
this
(int r, int g, int b);
this
(int r, int g, int b, int a);
this
(const(char)[] htmlColor);
bool
isOpaque
();
ubyte
[
4
]
toRGBAColor
();
string
toSVGColor
();
}
Constructors
this
this
(int r, int g, int b)
Undocumented in source.
this
this
(int r, int g, int b, int a)
Undocumented in source.
this
this
(const(char)[] htmlColor)
Undocumented in source.
Members
Functions
isOpaque
bool
isOpaque
()
Undocumented in source. Be warned that the author may not have intended to support it.
toRGBAColor
ubyte
[
4
]
toRGBAColor
()
Undocumented in source. Be warned that the author may not have intended to support it.
toSVGColor
string
toSVGColor
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
rgba
ubyte
[
4
]
rgba
;
Undocumented in source.
Meta
Source
See Implementation
printed
canvas
irenderer
enums
FontStyle
FontWeight
TextAlign
TextBaseline
functions
brush
convertMillimetersToPoints
convertPointsToMillimeters
interfaces
IRenderingContext2D
static variables
defaultRenderOptions
structs
Brush
RenderOptions
TextMetrics