[]
Represents a text effects formatting that can be applied to an object.
public class TextEffects : FormattingBag
Gets the glow effect formatting.
public Glow Glow { get; }
Gets the reflection effect formatting.
public Reflection Reflection { get; }
Gets the shadow effect formatting.
public OuterShadow Shadow { get; }
Gets the 3D format effect.
Note: returns null for CanvasShape and GroupShape.
public ThreeDFormat ThreeDFormat { get; }
Gets the 3D scene effect.
Note: returns null for CanvasShape.
public ThreeDScene ThreeDScene { get; }
Applies a built-in glow to the object.
public void ApplyBuiltInGlow(BuiltInGlowId glowId)
glowId
BuiltInGlowIdThe BuiltInGlowId to apply.
Applies built-in glow to the object.
protected virtual void ApplyBuiltInGlowInt(BuiltInGlowId glowId)
glowId
BuiltInGlowIdA BuiltInGlowId to apply.
Applies a built-in reflection to the object.
public void ApplyBuiltInReflection(BuiltInReflectionId reflectionId)
reflectionId
BuiltInReflectionIdThe BuiltInReflectionId to apply.
Applies built-in reflection to the object.
protected virtual void ApplyBuiltInReflectionInt(BuiltInReflectionId reflectionId)
reflectionId
BuiltInReflectionIdA BuiltInReflectionId to apply.
Applies a built-in shadow to the object.
public void ApplyBuiltInShadow(BuiltInShadowId shadowId)
shadowId
BuiltInShadowIdThe BuiltInShadowId to apply.
Applies built-in shadow to the object.
protected virtual void ApplyBuiltInShadowInt(BuiltInShadowId shadowId)
shadowId
BuiltInShadowIdA BuiltInShadowId to apply.
Sets all effects to default values.
public virtual void Clean()
public override bool Equals(object fmt)
fmt
objectpublic override int GetHashCode()
Gets whether the direct formatting contains any data for an object with specified keys.
protected override bool HasDirectFormatting(string parentKey, string baseKey)
parentKey
stringThe parent key of the object.
baseKey
stringThe base key of the object.
true if the direct formatting is applied to the object with specified keys.
Resets all effects to inherited defaults.
public void Reset()