The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Size
arsd
color
@
safe
struct
Size {
int
width
;
int
height
;
int
area
();
}
Members
Functions
area
int
area
()
Rectangular surface area
Variables
height
int
height
;
width
int
width
;
Meta
Source
See Implementation
arsd
color
classes
IndexedImage
TrueColorImage
functions
alphaBlend
colorFromString
darken
desaturate
extremify
findNearestColor
floodFill
floydSteinbergDither
fromHsl
fromOklab
lighten
linearOffset
makeAlpha
makeTextColor
moderate
oppositeLightness
quantize
rotateHue
saturate
setHue
setSaturation
srgbToLinearRgb
toHsl
toOklab
unalpha
interfaces
MemoryImage
structs
Angle
Color
ColorF
Lab
Point
Rectangle
Size