summaryrefslogtreecommitdiffstats
path: root/graphics/src/layer/text.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/layer/text.rs')
-rw-r--r--graphics/src/layer/text.rs26
1 files changed, 0 insertions, 26 deletions
diff --git a/graphics/src/layer/text.rs b/graphics/src/layer/text.rs
deleted file mode 100644
index 38d62616..00000000
--- a/graphics/src/layer/text.rs
+++ /dev/null
@@ -1,26 +0,0 @@
-use crate::{alignment, Color, Font, Rectangle};
-
-/// A paragraph of text.
-#[derive(Debug, Clone, Copy)]
-pub struct Text<'a> {
- /// The content of the [`Text`].
- pub content: &'a str,
-
- /// The layout bounds of the [`Text`].
- pub bounds: Rectangle,
-
- /// The color of the [`Text`], in __linear RGB_.
- pub color: Color,
-
- /// The size of the [`Text`].
- pub size: f32,
-
- /// The font of the [`Text`].
- pub font: Font,
-
- /// The horizontal alignment of the [`Text`].
- pub horizontal_alignment: alignment::Horizontal,
-
- /// The vertical alignment of the [`Text`].
- pub vertical_alignment: alignment::Vertical,
-}