Interface IRect

All Superinterfaces:
IHasAttributes<IRect>, IHasFill<IRect>, IHasStroke<IRect>, ISVGElement<IRect>

public interface IRect extends ISVGElement<IRect>, IHasFill<IRect>, IHasStroke<IRect>
  • Method Summary

    Modifier and Type
    Method
    Description
    default IRect
    height(int height)
    The height of the rect.
    default IRect
    rx(int rx)
    The horizontal corner radius of the rect.
    default IRect
    ry(int ry)
    The vertical corner radius of the rect.
    default IRect
    width(int width)
    The width of the rect.
    default IRect
    x(int x)
    The x coordinate of the rect.
    default IRect
    y(int y)
    The y coordinate of the rect.

    Methods inherited from interface com.persequor.extension.frontend.IHasAttributes

    attr, attr, attr, attr, attr, attr

    Methods inherited from interface com.persequor.extension.frontend.svg.IHasFill

    fill, fill

    Methods inherited from interface com.persequor.extension.frontend.svg.IHasStroke

    stroke, stroke, stroke, stroke

    Methods inherited from interface com.persequor.extension.frontend.svg.ISVGElement

    getElementType, link, title, title
  • Method Details

    • x

      default IRect x(int x)
      The x coordinate of the rect.
      Parameters:
      x -
    • y

      default IRect y(int y)
      The y coordinate of the rect.
      Parameters:
      y -
    • width

      default IRect width(int width)
      The width of the rect.
      Parameters:
      width -
    • height

      default IRect height(int height)
      The height of the rect.
      Parameters:
      height -
    • rx

      default IRect rx(int rx)
      The horizontal corner radius of the rect. Defaults to ry if it is specified.
      Parameters:
      rx -
    • ry

      default IRect ry(int ry)
      The vertical corner radius of the rect. Defaults to rx if it is specified.
      Parameters:
      ry -