Packages

 

com.aspose.imaging.fileformats.emf.emf.records

Classes

com.aspose.imaging.fileformats.emf.emf.records

Class EmfRoundRect

  • All Implemented Interfaces:
    com.aspose.imaging_internal.fileformats.emf.IRecord, Cloneable


    public final class EmfRoundRect
    extends EmfDrawingRecordType

    The EMR_ROUNDRECT record specifies a rectangle with rounded corners. The rectangle is outlined by using the current pen and filled by using the current brush.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Rectangle getBox()
      Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive rectangle to draw.
      Size getCorner()
      Gets or sets a 64-bit WMF SizeL object, specified in [MS-WMF] section 2.2.2.22, which specifies the width and height, in logical coordinates, of the ellipse used to draw the rounded corners.
      void setBox(Rectangle value)
      Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive rectangle to draw.
      void setCorner(Size value)
      Gets or sets a 64-bit WMF SizeL object, specified in [MS-WMF] section 2.2.2.22, which specifies the width and height, in logical coordinates, of the ellipse used to draw the rounded corners.
    • Constructor Detail

      • EmfRoundRect

        public EmfRoundRect(EmfRecord source)

        Initializes a new instance of the EmfRoundRect class.

        Parameters:
        source - The source.
      • EmfRoundRect

        public EmfRoundRect()

        Initializes a new instance of the EmfRoundRect class.

    • Method Detail

      • getBox

        public Rectangle getBox()

        Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive rectangle to draw.

      • setBox

        public void setBox(Rectangle value)

        Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive rectangle to draw.

      • getCorner

        public Size getCorner()

        Gets or sets a 64-bit WMF SizeL object, specified in [MS-WMF] section 2.2.2.22, which specifies the width and height, in logical coordinates, of the ellipse used to draw the rounded corners.

      • setCorner

        public void setCorner(Size value)

        Gets or sets a 64-bit WMF SizeL object, specified in [MS-WMF] section 2.2.2.22, which specifies the width and height, in logical coordinates, of the ellipse used to draw the rounded corners.