Class JSIShape

  • Direct Known Subclasses:
    JSIDMNLabel, JSIDMNShape

    @JsType(namespace="<global>",
            name="JsInterop__ConstructorAPI__DI__org__kie__workbench__common__dmn__webapp__kogito__marshaller__js__model__di__JSIShape",
            isNative=true)
    public class JSIShape
    extends JSIDiagramElement
    JSInterop adapter for Shape
    • Constructor Detail

      • JSIShape

        public JSIShape()
    • Method Detail

      • instanceOf

        @JsOverlay
        public static boolean instanceOf​(Object instance)
      • getJSIName

        @JsOverlay
        public static JSIName getJSIName()
        Getter for specific JSIName
        Returns:
        Getter for specific JSIName
      • getTYPE_NAME

        @JsProperty(name="TYPE_NAME")
        public String getTYPE_NAME()
        Native getter for TYPE_NAME
        Overrides:
        getTYPE_NAME in class JSIDiagramElement
        Returns:
        The TYPE_NAME JSON property
      • getBounds

        @JsProperty(name="bounds")
        public JSIBounds getBounds()
        Native getter for bounds
        Returns:
        The bounds JSON property
      • setBounds

        @JsProperty(name="bounds")
        public final void setBounds​(JSIBounds boundsParam)
        Setter for bounds
        Parameters:
        boundsParam - bounds to set.