Class
OfficeDrawingTilingPattern
OfficeIMO.Drawing
Clipped, transform-aware repetition of a reusable vector drawing tile.
Inheritance
- OfficeDrawingElement
- OfficeDrawingTilingPattern
Constructors
OfficeDrawingTilingPattern 2 overloads
public OfficeDrawingTilingPattern(OfficeDrawing tile, OfficeImagePlacement area, double horizontalStep, double verticalStep, OfficeTransform? transform = null, double originX = 0, double originY = 0, int maximumTileCount = 16384, double opacity = 1) #Creates a bounded vector tiling pattern.
Parameters
- tile OfficeIMO.Drawing.OfficeDrawing
- area OfficeIMO.Drawing.OfficeImagePlacement
- horizontalStep double
- verticalStep double
- transform OfficeIMO.Drawing.OfficeTransform? = null
- originX double = 0
- originY double = 0
- maximumTileCount int = 16384
- opacity double = 1
public OfficeDrawingTilingPattern(OfficeDrawing tile, OfficeImagePlacement area, double horizontalStep, double verticalStep, bool repeatX, bool repeatY, OfficeTransform? transform = null, double originX = 0, double originY = 0, int maximumTileCount = 16384, double opacity = 1) #Creates a bounded vector tiling pattern with independent axis repetition.
Parameters
- tile OfficeIMO.Drawing.OfficeDrawing
- area OfficeIMO.Drawing.OfficeImagePlacement
- horizontalStep double
- verticalStep double
- repeatX bool
- repeatY bool
- transform OfficeIMO.Drawing.OfficeTransform? = null
- originX double = 0
- originY double = 0
- maximumTileCount int = 16384
- opacity double = 1
Methods
public IReadOnlyList<OfficeTransform> GetTileTransforms() #Returns the bounded transforms needed to paint this pattern.
Returns
IReadOnlyList<OfficeTransform>Inherited Methods
Properties
public OfficeImagePlacement Area { get; } #Destination-space clipping area.
public double HorizontalStep { get; } #Horizontal distance between tile origins in pattern space.
public double VerticalStep { get; } #Vertical distance between tile origins in pattern space.
public OfficeTransform Transform { get; } #Pattern-space affine transform.
public double OriginX { get; } #Pattern-space horizontal grid origin.
public int MaximumTileCount { get; } #Maximum number of tiles expanded by renderers.
public double Opacity { get; } #Pattern opacity from zero through one.
public bool RepeatX { get; } #Whether the origin tile repeats horizontally.
public bool RepeatY { get; } #Whether the origin tile repeats vertically.