Interface RElement

    • Method Detail

      • layout

        void layout​(int availWidth,
                    int availHeight,
                    boolean sizeOnly)
        Lays out the subtree below the RElement. The RElement is expected to set its own dimensions, but not its origin.
        Parameters:
        availWidth - The available width from the parent's canvas.
        availHeight - The available height from the parent's canvas.
        sizeOnly - Whether the layout is for sizing determination only.
      • getVAlign

        int getVAlign()
        Vertical alignment for elements rendered in a line. Returns one of the constants defined in this class.
      • getMarginTop

        int getMarginTop()
      • getMarginLeft

        int getMarginLeft()
      • getMarginBottom

        int getMarginBottom()
      • getMarginRight

        int getMarginRight()
      • getCollapsibleMarginTop

        int getCollapsibleMarginTop()
      • getCollapsibleMarginBottom

        int getCollapsibleMarginBottom()