public override void ReadFromBinary(IBinaryReader reader) { var indexValue = reader.ReadIndex(); Type = indexValue switch { 1 => JoinIndicator.UNSPECIFIED, 2 => JoinIndicator.MITRE, 3 => JoinIndicator.ROUND, 4 => JoinIndicator.BEVEL, _ => JoinIndicator.UNSPECIFIED, }; }
protected void SetValue(JoinIndicator type) { Type = type; }
public LineJoin(CgmFile container, JoinIndicator type) : this(container) { SetValue(type); }