public DOMPointReadOnly(DOMPointInit init) { this.x = init.x; this.y = init.y; this.z = init.z; this.w = init.w; }
public DOMQuad(DOMPointInit p1, DOMPointInit p2, DOMPointInit p3, DOMPointInit p4) { this.p1 = new DOMPoint(p1.x, p1.y, p1.z, p1.w); this.p2 = new DOMPoint(p2.x, p2.y, p2.z, p2.w); this.p3 = new DOMPoint(p3.x, p3.y, p3.z, p3.w); this.p4 = new DOMPoint(p4.x, p4.y, p4.z, p4.w); }
public DOMQuadInit(DOMPointInit p1, DOMPointInit p2, DOMPointInit p3, DOMPointInit p4) { this.p1 = p1; this.p2 = p2; this.p3 = p3; this.p4 = p4; }
public void CSharp9RecordsWorkAsRegularClassesInCSharp8() { var point = new DOMPointInit { x = 1, y = 2, z = 3, w = 4, }; // init (InitOnly) works correctly in C# 8 //point.x = 2; Assert.AreEqual(1, point.x); Assert.AreEqual(2, point.y); Assert.AreEqual(3, point.z); Assert.AreEqual(4, point.w); }
public static DOMPoint ConvertPointFromNode(DOMPointInit point, TypeOption<XmlText, Element, DocumentBase> from, ConvertCoordinateOptions options) { return default(DOMPoint); }
public DOMPoint ConvertPointFromNode(DOMPointInit point, TypeOption <XmlText, Element, DocumentBase> from, ConvertCoordinateOptions options) { return(default(DOMPoint)); }
public DOMPoint ConvertPointFromNode(DOMPointInit point, TypeOption<XmlText, Element, DocumentBase> from) { return default(DOMPoint); }
public DOMQuad(DOMPointInit p1, DOMPointInit p2, DOMPointInit p3, DOMPointInit p4) { }
public DOMQuad(DOMPointInit p1, DOMPointInit p2) { }
public DOMQuad(DOMPointInit p1) { }
public static DOMPointReadOnly fromPoint(DOMPointInit other) { return(new DOMPointReadOnly(other.x, other.y, other.z, other.w)); }
public DOMPoint(DOMPointInit point) { }