OfficeDrawingGroup
OfficeIMO.Drawing
Clipped nested drawing element inside an OfficeDrawing canvas. Finite negative coordinates are retained for clipped intermediate scenes; drawing insertion APIs still validate the visible clip against their canvas.
Inheritance
- OfficeDrawingElement
- OfficeDrawingGroup
Constructors
public OfficeDrawingGroup(OfficeDrawing drawing, double x, double y, OfficeClipPath clipPath) #Creates a clipped nested drawing element.
Parameters
- drawing OfficeIMO.Drawing.OfficeDrawing
- x double
- y double
- clipPath OfficeIMO.Drawing.OfficeClipPath
public OfficeDrawingGroup(OfficeDrawing drawing, double x, double y, OfficeClipPath clipPath, OfficeImageFrameTransform? frameTransform) #Creates a clipped nested drawing element with an optional destination-space frame transform.
Parameters
- drawing OfficeIMO.Drawing.OfficeDrawing
- x double
- y double
- clipPath OfficeIMO.Drawing.OfficeClipPath
- frameTransform OfficeIMO.Drawing.OfficeImageFrameTransform?
public OfficeDrawingGroup(OfficeDrawing drawing, double x, double y, OfficeClipPath clipPath, double contentOffsetX, double contentOffsetY) #Creates a clipped nested drawing with an independent content offset inside the clip rectangle.
Parameters
- drawing OfficeIMO.Drawing.OfficeDrawing
- x double
- y double
- clipPath OfficeIMO.Drawing.OfficeClipPath
- contentOffsetX double
- contentOffsetY double
public OfficeDrawingGroup(OfficeDrawing drawing, double x, double y, OfficeClipPath clipPath, double contentOffsetX, double contentOffsetY, OfficeImageFrameTransform? frameTransform) #Creates a clipped nested drawing with independent content offset and optional destination-space frame transform.
Parameters
- drawing OfficeIMO.Drawing.OfficeDrawing
- x double
- y double
- clipPath OfficeIMO.Drawing.OfficeClipPath
- contentOffsetX double
- contentOffsetY double
- frameTransform OfficeIMO.Drawing.OfficeImageFrameTransform?
Inherited Methods
Properties
public double X { get; } #Group horizontal position inside the parent drawing.
public double Y { get; } #Group vertical position inside the parent drawing.
public OfficeClipPath ClipPath { get; } #Clipping path in group-local coordinates.
public double ContentOffsetX { get; } #Horizontal translation applied to nested content after the clip is positioned.
public double ContentOffsetY { get; } #Vertical translation applied to nested content after the clip is positioned.
public OfficeImageFrameTransform? FrameTransform { get; } #Optional destination-space frame transform applied to the group and its clipping path.
public string? ActualText { get; } #Logical replacement text represented by the group's vector paint, when any.
public double ActualTextAnchorX { get; } #Horizontal anchor for the logical text in parent drawing coordinates.
public double ActualTextAnchorY { get; } #Vertical anchor for the logical text in parent drawing coordinates.