mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
docs
This commit is contained in:
@@ -1748,6 +1748,7 @@ impl Ui {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Set z-index and layer id at the same time
|
||||||
pub fn with_layer<R>(
|
pub fn with_layer<R>(
|
||||||
&mut self,
|
&mut self,
|
||||||
layer: ZLayer,
|
layer: ZLayer,
|
||||||
@@ -1759,6 +1760,10 @@ impl Ui {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Set z-index for all shapes drawn on the current layer
|
||||||
|
///
|
||||||
|
/// Note that this z-index is for this layer only. The draw order of area
|
||||||
|
/// layers takes precedence over this z-index.
|
||||||
pub fn with_z<R>(
|
pub fn with_z<R>(
|
||||||
&mut self,
|
&mut self,
|
||||||
z: layers::ZOrder,
|
z: layers::ZOrder,
|
||||||
|
|||||||
Reference in New Issue
Block a user