コード例 #1
0
 public override bool Equals(GeometryEffect geometryEffect)
 {
     if (geometryEffect != null)
     {
         return(geometryEffect is NoGeometryEffect);
     }
     return(true);
 }
コード例 #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);
        }
コード例 #3
0
 public override bool Equals(GeometryEffect geometryEffect)
 {
     return(geometryEffect is SketchGeometryEffect);
 }
コード例 #4
0
 public abstract bool Equals(GeometryEffect geometryEffect);
コード例 #5
0
 public static void SetGeometryEffect(DependencyObject obj, GeometryEffect value)
 {
     obj.SetValue(GeometryEffectProperty, value);
 }