File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -376,16 +376,6 @@ where
376376 )
377377 }
378378
379- /// Sets the vertical text offset.
380- ///
381- /// Vertical offset changes the vertical position of the displayed text within the bounding box.
382- /// Setting a positive value moves the text down.
383- #[ inline]
384- pub fn set_vertical_offset ( & mut self , offset : i32 ) -> & mut Self {
385- self . vertical_offset = offset;
386- self
387- }
388-
389379 /// Adds a new plugin to the `TextBox`.
390380 #[ inline]
391381 pub fn add_plugin < M > ( self , plugin : M ) -> TextBox < ' a , S , Chain < M > >
@@ -503,4 +493,14 @@ where
503493
504494 self
505495 }
506- }
496+
497+ /// Sets the vertical text offset.
498+ ///
499+ /// Vertical offset changes the vertical position of the displayed text within the bounding box.
500+ /// Setting a positive value moves the text down.
501+ #[ inline]
502+ pub fn set_vertical_offset ( & mut self , offset : i32 ) -> & mut Self {
503+ self . vertical_offset = offset;
504+ self
505+ }
506+ }
You can’t perform that action at this time.
0 commit comments