CrImage::Draw::LineStyle
LineStyle defines the visual appearance of a line.
Properties:
color: Line colorthickness: Line width in pixelsanti_alias: Enable smooth edges
Example:
style = CrImage::Draw::LineStyle.new(
CrImage::Color::RED,
thickness: 2,
anti_alias: true
)
Constructors
Instance methods
anti_alias
Sourcecolor
Sourcecolor=(color : Color::Color)
Sourcethickness
Sourcewith_color(color : Color::Color) : self
Source