Compartilhar via


RotationCenter Class

Rotation Center.When the object is serialized out as xml, its qualified name is p:rCtr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Presentation.TimeListType
        DocumentFormat.OpenXml.Presentation.RotationCenter

Namespace:  DocumentFormat.OpenXml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class RotationCenter _
    Inherits TimeListType
'Usage
Dim instance As RotationCenter
public class RotationCenter : TimeListType

Remarks

[ISO/IEC 29500-1 1st Edition]

19.5.62 rCtr (Rotation Center)

This element describes the center of the rotation used to rotate a motion path by X angle.

[Example: For example, suppose we have a simple animation with a checkerbox text entrance.

<p:animMotion origin="layout" path="M 0 0  L 0.25 0.33333  E" pathEditMode="relative" rAng="0" ptsTypes="">
  <p:cBhvr>
    <p:cTn id="6" dur="2000" fill="hold"/>
    <p:tgtEl>
      <p:spTgt spid="3"/>
    </p:tgtEl>
    <p:attrNameLst>
      <p:attrName>ppt_x</p:attrName>
      <p:attrName>ppt_y</p:attrName>
    </p:attrNameLst>
  </p:cBhvr>
  <p:rCtr x="457200" y="274638"/>
</p:animMotion>

end example]

Parent Elements

animMotion (§19.5.4)

Attributes

Description

x (X coordinate)

This attribute describes the X coordinate.

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

y (Y coordinate)

This attribute describes the Y coordinate.

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

[Note: The W3C XML Schema definition of this element’s content model (CT_TLPoint) is located in §A.3. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RotationCenter Members

DocumentFormat.OpenXml.Presentation Namespace