Skip to main content

draw_outline

Function draw_outline 

Source
pub(super) fn draw_outline(
    screen: &Screen,
    x0: i32,
    y0: i32,
    x1: i32,
    y1: i32,
    width: i32,
    offset: i32,
    color: u32,
    style: &str,
)
Expand description

outline を描画する。border-box の外側に offset だけ離して width px の枠線を引く。 レイアウトに影響しない装飾のため、border とは独立して呼ぶ。