1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 12:50:04 -04:00

Add some improvements in the documentation (#1056)

* Better documentation for align.rs
* Document some painting methods
* Fix broken intra-doc links
* Add some internal documentation for Window TitleBar
This commit is contained in:
Mingun
2022-01-17 02:06:28 +05:00
committed by GitHub
parent 624e2fcfc1
commit 87ae77aab0
6 changed files with 129 additions and 17 deletions

View File

@@ -15,10 +15,13 @@ pub enum Shape {
/// For performance reasons it is better to avoid it.
Vec(Vec<Shape>),
Circle(CircleShape),
/// A line between two points.
LineSegment {
points: [Pos2; 2],
stroke: Stroke,
},
/// A series of lines between points.
/// The path can have a stroke and/or fill (if closed).
Path(PathShape),
Rect(RectShape),
Text(TextShape),