DashStyle.Offset Property
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.
Gets or sets how far in the dash sequence the stroke will start.
public:
property double Offset { double get(); void set(double value); };
public double Offset { get; set; }
member this.Offset : double with get, set
Public Property Offset As Double
Property Value
The offset for the dash sequence. The default is 0.
Remarks
It is strongly recommended to use an offset value that resolves to the middle of any dash. This will make most strokes start and end in mid dash rather than at a gap.
Dependency Property Information
Item | Value |
---|---|
Identifier field | OffsetProperty |
Metadata properties set to true |
None |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.