Class EmfRoundRect

Class EmfRoundRect

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.2.0)

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.

public sealed class EmfRoundRect : EmfDrawingRecordType

Inheritance

objectMetaObjectEmfRecordEmfDrawingRecordTypeEmfRoundRect

Inherited Members

EmfRecord.Type, EmfRecord.Size, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

EmfRoundRect(EmfRecord)

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfRoundRect class.

public EmfRoundRect(EmfRecord source)

Parameters

source EmfRecord

The source.

EmfRoundRect()

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfRoundRect class.

public EmfRoundRect()

Properties

Box

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.

public Rectangle Box { get; set; }

Property Value

Rectangle

Corner

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.

public Size Corner { get; set; }

Property Value

Size