Table of Contents

Class ShapeTransform2D

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

The 2-D placement of a shape or group inside its parent's coordinate space (ECMA-376 Part 1 §20.1.7.6 a:xfrm). For a group, ChildOffsetX and ChildExtentX additionally define the coordinate space its children are authored in.

public sealed class ShapeTransform2D
Inheritance
ShapeTransform2D
Inherited Members

Constructors

ShapeTransform2D()

Properties

ChildExtentX

Gets or sets the child-space width (a:chExt cx); groups only, 0 for identity.

ChildExtentY

Gets or sets the child-space height (a:chExt cy); groups only, 0 for identity.

ChildOffsetX

Gets or sets the child-space x origin (a:chOff x); groups only.

ChildOffsetY

Gets or sets the child-space y origin (a:chOff y); groups only.

ExtentX

Gets or sets the width (a:ext cx).

ExtentY

Gets or sets the height (a:ext cy).

FlipHorizontal

Gets or sets whether the shape is mirrored horizontally (a:xfrm flipH).

FlipVertical

Gets or sets whether the shape is mirrored vertically (a:xfrm flipV).

OffsetX

Gets or sets the x offset in the parent's space (a:off x).

OffsetY

Gets or sets the y offset in the parent's space (a:off y).

Rotation

Gets or sets the clockwise rotation in 60000ths of a degree (a:xfrm rot).

Methods

Clone()

Creates a copy.