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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user