Class EllipseShapeItem
Represents an ellipse rectangle shape item.
Inherited Members
Namespace: Neodynamic.SDK.Printing
Assembly: cs.temp.dll.dll
Syntax
public class EllipseShapeItem : ClosedShapeItem, IXmlTemplate, INotifyPropertyChanged
Constructors
EllipseShapeItem()
Initializes a new instance of the EllipseShapeItem class.
Declaration
public EllipseShapeItem()
EllipseShapeItem(Double, Double, Double, Double)
Initializes a new instance of the EllipseShapeItem class with the specified location and size.
Declaration
public EllipseShapeItem(double x, double y, double width, double height)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The x-coordinate of the upper-left corner of the item relative to the upper-left corner of its container. |
System.Double | y | The y-coordinate of the upper-left corner of the item relative to the upper-left corner of its container. |
System.Double | width | The width of the item. |
System.Double | height | The height of the item. |
Properties
IsCircle
Declaration
protected virtual bool IsCircle { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
RotationAngle
Gets or sets the rotation angle to apply on this item. It is measured clockwise from the x-axis. Default value is 0 (zero)
Declaration
public int RotationAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Clone()
Creates a copy of the current EllipseShapeItem.
Declaration
public override Item Clone()
Returns
Type | Description |
---|---|
Item | A copy of the current EllipseShapeItem. |
Overrides
UpdateFrom(Item)
Updates this EllipseShapeItem object with the properties of the specified EllipseShapeItem object.
Declaration
public override void UpdateFrom(Item item)
Parameters
Type | Name | Description |
---|---|---|
Item | item | The EllipseShapeItem object that is used for updating this EllipseShapeItem object. |