Beispiel #1
0
 internal VGPreparedPath(FillMesh fill, StrokeMesh stroke, VGLineCap startCap, VGLineCap endCap, VGLineJoin join, float miterLimit, Vector4 extents)
 {
     Fill = fill;
     Stroke = stroke;
     StartCap = startCap;
     EndCap = endCap;
     Join = join;
     MiterLimit = miterLimit;
     Extents = extents;
 }
Beispiel #2
0
        public void Dispose()
        {
            if (Fill != null)
            {
                Fill.Dispose();
                Fill = null;
            }

            if (Stroke != null)
            {
                Stroke.Dispose();
                Stroke = null;
            }
        }