Class Size

    • Field Detail

      • assemblyFullName

        public static final java.lang.String assemblyFullName
        Fully assembly qualified name: System.Drawing.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        See Also:
        Constant Field Values
      • assemblyShortName

        public static final java.lang.String assemblyShortName
        Assembly name: System.Drawing.Primitives
        See Also:
        Constant Field Values
      • className

        public static final java.lang.String className
        Qualified class name: System.Drawing.Size
        See Also:
        Constant Field Values
      • classType

        public static JCType classType
        The type managed from JCOBridge. See JCType
    • Constructor Detail

      • Size

        public Size​(java.lang.Object instance)
             throws java.lang.Throwable
        Internal constructor. Use with caution
        Throws:
        java.lang.Throwable
      • Size

        public Size()
             throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Size

        public Size​(int width,
                    int height)
             throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Size

        public Size​(Point pt)
             throws java.lang.Throwable
        Throws:
        java.lang.Throwable
    • Method Detail

      • cast

        public static Size cast​(IJCOBridgeReflected from)
                         throws java.lang.Throwable
        Try to cast the IJCOBridgeReflected instance into Size, a cast assert is made to check if types are compatible.
        Parameters:
        from - IJCOBridgeReflected instance to be casted
        Returns:
        Size instance
        Throws:
        java.lang.Throwable - in case of error during cast operation
      • Equals

        public boolean Equals​(Size other)
                       throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Add

        public static Size Add​(Size sz1,
                               Size sz2)
                        throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Ceiling

        public static Size Ceiling​(SizeF value)
                            throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Subtract

        public static Size Subtract​(Size sz1,
                                    Size sz2)
                             throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Truncate

        public static Size Truncate​(SizeF value)
                             throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getIsEmpty

        public boolean getIsEmpty()
                           throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getHeight

        public int getHeight()
                      throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • setHeight

        public void setHeight​(int Height)
                       throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getWidth

        public int getWidth()
                     throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • setWidth

        public void setWidth​(int Width)
                      throws java.lang.Throwable
        Throws:
        java.lang.Throwable