[]
Represents a base outline formatting that can be applied to an object.
public class LineFormatBase : FormattingBag, IFixedFormattingBag
Gets or sets the pen alignment.
public PenAlignment Alignment { get; set; }
Gets the base (this class) key for formatting properties.
protected override string BaseKey { get; }
Gets or sets the ending caps that should be used for this line.
public LineCapType CapType { get; set; }
Gets or sets the compound line type.
public CompoundLineType CompoundType { get; set; }
Gets or sets the line dash type.
public LineDashType DashType { get; set; }
Gets the fill formatting properties.
public FillFormat Fill { get; }
Gets a value indicating whether the formatting is fixed in the class instance level.
If true, any formatting changes on an ancestor level of the same class will be ignored.
If false, changing a property on an ancestor level will apply to this level too.
For example, changing a property of Fill on style level will change that property only for those Runs that have IsFixed equal to false.
public bool IsFixed { get; }
Gets or sets the line join type.
public LineJoinType JoinType { get; set; }
Gets or sets the line width, in points.
public float Width { get; set; }
Sets all properties to their default values.
Also sets IsFixed to true if any properties of this class are defined on an ancestor level.
public void Clean()
public override bool Equals(object fmt)
fmt
objectFixes all inherited values as "direct" values for this instance.
protected override void FixInheritedValues()
public override int GetHashCode()
Resets all properties to their inherited values.
Also sets IsFixed to false.
public void Reset()