Class RectDefinition

    • Constructor Detail

      • RectDefinition

        public RectDefinition​(String id,
                              double width,
                              double height,
                              double cornerRadius)
    • Method Detail

      • getViewType

        public Class<com.ait.lienzo.client.core.shape.Rectangle> getViewType()
        Specified by:
        getViewType in interface PrimitiveDefinition<com.ait.lienzo.client.core.shape.Rectangle>
      • getWidth

        public double getWidth()
        Specified by:
        getWidth in interface HasSize
      • getHeight

        public double getHeight()
        Specified by:
        getHeight in interface HasSize
      • getCornerRadius

        public double getCornerRadius()