IPattern Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a pattern that can be used to fill shapes on a canvas.
public interface class IPattern
public interface IPattern
type IPattern = interface
Public Interface IPattern
- Derived
Properties
Height |
Gets the height of the pattern. |
StepX |
Gets the horizontal step size for repeating the pattern. |
StepY |
Gets the vertical step size for repeating the pattern. |
Width |
Gets the width of the pattern. |
Methods
Draw(ICanvas) |
Draws the pattern onto the specified canvas. |
Extension Methods
AsPaint(IPattern, Color) |
Converts a pattern to a paint using the specified foreground color. |
AsPaint(IPattern) |
Converts a pattern to a paint using black as the foreground color. |