ITileBrush
trait · ferroui-base · v0.5.0
trait ITileBrush: IBrush
A brush which displays a repeating image.
Members
alignment_x
fn alignment_x(self: &Self) -> AlignmentX
The horizontal alignment of a tile in the destination.
alignment_y
fn alignment_y(self: &Self) -> AlignmentY
The vertical alignment of a tile in the destination.
destination_rect
fn destination_rect(self: &Self) -> RelativeRect
The rectangle on the destination in which to paint a tile.
source_rect
fn source_rect(self: &Self) -> RelativeRect
The rectangle of the source image that will be displayed.
stretch
fn stretch(self: &Self) -> Stretch
A value controlling how the source rectangle will be stretched to fill the destination rect.
tile_mode
fn tile_mode(self: &Self) -> TileMode
The brush's tile mode.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.