<xfrm> (Transform Effect)

This element specifies a transform effect. The transform is applied to each point in the shape's geometry using the following matrix:

Parent Elements

<cont>5.1.10.20); <effectDag>5.1.10.25)

Attributes

Description

<kx> (Horizontal Skew)

Specifies the horizontal skew angle, defined as the agnle between the top-left corner and bottom-left corner of the object's original bounding box. If positive, the bottom edge of the shape will be positioned to the right relative to the top edge.

The possible values for this attribute are defined by the ST_FixedAngle simple type (§5.1.12.21).

<ky> (Vertical Skew)

Specifies the vertical skew angle, defined as the angle between the top-left corner and top-right corner of the object's original bounding box. If positive, the right edge of the object will be positioned lower relative to the left edge.

The possible values for this attribute are defined by the ST_FixedAngle simple type (§5.1.12.21).

<sx> (Horizontal Ratio)

Specifies a percentage by which to horizontally scale the object.

The possible values for this attribute are defined by the ST_Percentage simple type (§5.1.12.41).

<sy> (Vertical Ratio)

Specifies a percentage by which to vertically scale the object.

The possible values for this attribute are defined by the ST_Percentage simple type (§5.1.12.41).

<tx> (Horizontal Shift)

Specifies an amount by which to shift the object along the x-axis.

The possible values for this attribute are defined by the ST_Coordinate simple type (§5.1.12.16).

<ty> (Vertical Shift)

Specifies an amount by which to shift the object along the y-axis.

The possible values for this attribute are defined by the ST_Coordinate simple type (§5.1.12.16).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_TransformEffect">
	<attribute name="sx" type="ST_Percentage" use="optional" default="100000"/>
	<attribute name="sy" type="ST_Percentage" use="optional" default="100000"/>
	<attribute name="kx" type="ST_FixedAngle" use="optional" default="0"/>
	<attribute name="ky" type="ST_FixedAngle" use="optional" default="0"/>
	<attribute name="tx" type="ST_Coordinate" use="optional" default="0"/>
	<attribute name="ty" type="ST_Coordinate" use="optional" default="0"/>
</complexType>