mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
RectShape: add control over where the stoke goes (#5647)
Adds `RectShape::stroke_kind` so you can select if the stroke goes inside, outside, or is centered on the rectangle. Also adds `RectShape::round_to_pixels` so you can override `TessellationOptions::round_rects_to_pixels`.
This commit is contained in:
@@ -63,6 +63,8 @@ pub fn adjust_colors(
|
||||
rounding: _,
|
||||
fill,
|
||||
stroke,
|
||||
stroke_kind: _,
|
||||
round_to_pixels: _,
|
||||
blur_width: _,
|
||||
brush: _,
|
||||
}) => {
|
||||
|
||||
Reference in New Issue
Block a user