Class
OdfStrokeDashPattern
OfficeIMO.OpenDocument
An ODF dash pattern with up to two repeated dash lengths and a uniform gap.
Inheritance
- object
- OdfStrokeDashPattern
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property OdfStrokeDash.Pattern
Accepted by parameters 1
Constructors
public OdfStrokeDashPattern(int dashCount, OdfLength dashLength, OdfLength distance, int secondDashCount = 0, OdfLength? secondDashLength = null, bool roundCaps = false) #Creates a pattern. Lengths may use absolute ODF units or percentages of stroke width.
Parameters
- dashCount int
- First sequence count, from zero to 1024.
- dashLength OfficeIMO.OpenDocument.OdfLength
- First sequence dash length; zero is allowed.
- distance OfficeIMO.OpenDocument.OdfLength
- Positive gap between dashes, excluding caps.
- secondDashCount int = 0
- Second sequence count; the total count must be between one and 1024.
- secondDashLength OfficeIMO.OpenDocument.OdfLength? = null
- Second sequence dash length, required when its count is positive.
- roundCaps bool = false
- Use round caps when the shape has no explicit cap override.
Inherited Methods
Properties
public OdfLength Distance { get; } #Gap between adjacent dashes, excluding caps.
public int SecondDashCount { get; } #Number of dashes in the second sequence.
public OdfLength? SecondDashLength { get; } #Second dash length, excluding caps.
public bool RoundCaps { get; } #Whether the definition supplies round caps when the shape does not override them.