Class ResolvedShapePart
One paintable piece of a resolved shape tree. Groups, nested groups, child-space mapping, flips and rotation have all been flattened away by the resolver, so Segments are plain shape-local twips that layout only has to translate by the anchor origin.
public sealed class ResolvedShapePart
- Inheritance
-
ResolvedShapePart
- Inherited Members
Properties
- BlipContentType
Gets the content type of the image fill, or null when the part has none.
- BlipCropBottom
Gets the bottom crop of the image fill in thousandth-percent units.
- BlipCropLeft
Gets the left crop of the image fill in thousandth-percent units.
- BlipCropRight
Gets the right crop of the image fill in thousandth-percent units.
- BlipCropTop
Gets the top crop of the image fill in thousandth-percent units.
- BoundsHeight
Gets the part's bounding-box height in twips.
- BoundsLeft
Gets the part's bounding-box left edge in shape-local twips.
- BoundsTop
Gets the part's bounding-box top edge in shape-local twips.
- BoundsWidth
Gets the part's bounding-box width in twips.
- FillAlpha
Gets the fill opacity in thousandths of a percent (0..100000).
- FillColor
Gets the resolved fill color, or null when unfilled. When FillGradient is set this is the flat fallback color.
- FillGradient
Gets the resolved gradient interior paint, or null when the interior is flat. Its coordinates are in the same shape-local twips as Segments.
- FillPattern
Gets the resolved tiled pattern interior paint, or null when the interior is not patterned.
- FillRule
Gets how the interior is determined.
- HasBlip
Gets whether this part carries an image fill.
- IsRectangular
Gets whether the outline is a plain axis-aligned rectangle, which clips more cheaply.
- Segments
Gets the outline in shape-local twips, transforms already applied.
- StrokeAlpha
Gets the stroke opacity in thousandths of a percent (0..100000).
- StrokeColor
Gets the resolved stroke color, or null when unstroked.
- StrokeDashPattern
Gets the stroke dash pattern in twips; empty for a solid stroke.
- StrokeWidth
Gets the stroke width in twips.
Methods
- OpenBlip()
Opens a read-only stream over the image-fill bytes.