Esempio n. 1
0
 public override bool Equals(GeometryEffect geometryEffect)
 {
     if (geometryEffect != null)
     {
         return(geometryEffect is NoGeometryEffect);
     }
     return(true);
 }
Esempio n. 2
0
        public static GeometryEffect GetGeometryEffect(this IGeometrySourceParameters parameters)
        {
            if (parameters is DependencyObject obj2)
            {
                var geometryEffect = GeometryEffect.GetGeometryEffect(obj2);
                if (geometryEffect != null && obj2.Equals(geometryEffect.Parent))
                {
                    return(geometryEffect);
                }
            }

            return(null);
        }
Esempio n. 3
0
 public override bool Equals(GeometryEffect geometryEffect)
 {
     return(geometryEffect is SketchGeometryEffect);
 }
Esempio n. 4
0
 public abstract bool Equals(GeometryEffect geometryEffect);
Esempio n. 5
0
 public static void SetGeometryEffect(DependencyObject obj, GeometryEffect value)
 {
     obj.SetValue(GeometryEffectProperty, value);
 }