Package 

Class TextComponent

  • All Implemented Interfaces:
    com.patrykandpatrick.vico.core.component.dimension.Margins , com.patrykandpatrick.vico.core.component.dimension.Padding

    
    public class TextComponent
     implements Padding, Margins
                        

    Uses Canvas to render text. This class utilizes StaticLayout and supports the following:

    • multi-line text with automatic line breaking

    • text truncation

    • Spanned

    • text rotation

    • text backgrounds (any Component)

    • margins and padding