XU XUv0.13.1
中文

#embedded/display/geometry

import: #embedded/display/geometry

counts: 0 functions, 0 methods, 2 types, 0 constants, 0 method sets

Standard library package `#embedded/display/geometry`.

struct Rect

XuAPI
pub struct Rect {
    pub x int
    pub y int
    pub width int
    pub height int
}

Purpose

Structure encapsulating x, y, width, height.

Public fields

x int
value
y int
value
width int
field (int)
height int
field (int)

struct Span

XuAPI
pub struct Span {
    pub x int
    pub y int
    pub offset int
    pub count int
}

Purpose

Structure encapsulating x, y, offset, count.

Public fields

x int
value
y int
value
offset int
offset
count int
field (int)