xtd 0.2.0
Loading...
Searching...
No Matches

◆ drop_shadow() [1/2]

static void xtd::drawing::image_converter::drop_shadow ( xtd::drawing::image image,
int32  horizontal_shadow,
int32  vertical_shadow,
int32  blur,
const xtd::drawing::color color 
)
static

Add drop shadow to the specified image, with specified horizontal and vertical shadow, blur radius, and the shadow color.

Parameters
imageThe image to add drop shadow.
horizontal_shadowSpecifies a pixel value for the horizontal shadow in pixels. Negative values place the shadow to the left of the image.
vertical_shadowSpecifies a pixel value for the vertical shadow in pixels. Negative values place the shadow to the left of the image.
blurAdds a blur effect to the shadow in pixels. A larger value will create more blur (the shadow becomes bigger and lighter). Negative values are not allowed. If no value is specified, 0 is used (the shadow's edge is sharp).
colorAdds a color to the shadow.
Appearance
Original Converted