updating text_svg to perhaps contain the handle
This commit is contained in:
parent
1a2ff0a4bc
commit
b95e76eff4
3 changed files with 29 additions and 25 deletions
|
@ -24,6 +24,7 @@ pub struct TextSvg {
|
|||
stroke: Option<Stroke>,
|
||||
fill: Color,
|
||||
alignment: TextAlignment,
|
||||
handle: Option<Handle>,
|
||||
}
|
||||
|
||||
impl Hash for TextSvg {
|
||||
|
@ -173,6 +174,8 @@ impl TextSvg {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn build(self)
|
||||
|
||||
pub fn fill(mut self, color: impl Into<Color>) -> Self {
|
||||
self.fill = color.into();
|
||||
self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue