internal virtual LayerVertex Deserialize(IReadOnlyDictionary <string, object> properties) { Name = properties[nameof(Name)].ToString(); Enum.TryParse(properties[nameof(Kind)].ToString(), out VertexKind kind); Kind = kind; return(this); }
protected LayerVertex(VertexKind kind, string name) : base(name) { Kind = kind; }
public Vertex(float x, float y, VertexKind kind) { _ox = _newX = x; _oy = _newY = y; _kind = kind; }