class

CrImage::Font::Shadow

Inherits Reference / Object

Drop shadow effect for text.

Creates a blurred shadow behind text to add depth and improve readability against complex backgrounds.

Properties:

  • offset_x : Horizontal shadow displacement in pixels
  • offset_y : Vertical shadow displacement in pixels
  • blur_radius : Gaussian blur radius for soft edges
  • color : Shadow color (typically semi-transparent black)

Constructors

new(offset_x : Int32, offset_y : Int32, blur_radius : Int32, color : CrImage::Color::Color)
Source

Instance methods

blur_radius
Source
blur_radius=(blur_radius : Int32)
Source
color
Source
color=(color : Color::Color)
Source
offset_x
Source
offset_x=(offset_x : Int32)
Source
offset_y
Source
offset_y=(offset_y : Int32)
Source