Exemple #1
0
 public DOMPointReadOnly(DOMPointInit init)
 {
     this.x = init.x;
     this.y = init.y;
     this.z = init.z;
     this.w = init.w;
 }
Exemple #2
0
 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);
 }
Exemple #3
0
 public DOMQuadInit(DOMPointInit p1, DOMPointInit p2, DOMPointInit p3, DOMPointInit p4)
 {
     this.p1 = p1;
     this.p2 = p2;
     this.p3 = p3;
     this.p4 = p4;
 }
Exemple #4
0
        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);
        }
Exemple #5
0
 public static DOMPoint ConvertPointFromNode(DOMPointInit point, TypeOption<XmlText, Element, DocumentBase> from, ConvertCoordinateOptions options)
 {
     return default(DOMPoint);
 }
Exemple #6
0
 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);
 }
Exemple #8
0
 public DOMQuad(DOMPointInit p1, DOMPointInit p2, DOMPointInit p3, DOMPointInit p4)
 {
 }
Exemple #9
0
 public DOMQuad(DOMPointInit p1, DOMPointInit p2)
 {
 }
Exemple #10
0
 public DOMQuad(DOMPointInit p1)
 {
 }
Exemple #11
0
 public static DOMPointReadOnly fromPoint(DOMPointInit other)
 {
     return(new DOMPointReadOnly(other.x, other.y, other.z, other.w));
 }
Exemple #12
0
 public DOMPoint(DOMPointInit point)
 {
 }