Geometry Geometry Geometry Geometry Class

定義

衍生自這個抽象基底類別的類別會定義幾何圖案。Classes that derive from this abstract base class define geometric shapes. Geometry 物件可用來裁剪、叫用測試及轉譯 2D 圖形資料。Geometry objects can be used for clipping, hit-testing, and rendering 2-D graphic data.

public ref class Geometry abstract : System::Windows::Media::Animation::Animatable, IFormattable
[System.ComponentModel.TypeConverter(typeof(System.Windows.Media.GeometryConverter))]
[System.Windows.Localizability(System.Windows.LocalizationCategory.None, Readability=System.Windows.Readability.Unreadable)]
public abstract class Geometry : System.Windows.Media.Animation.Animatable, IFormattable
type Geometry = class
    inherit Animatable
    interface IFormattable
    interface DUCE.IResource
Public MustInherit Class Geometry
Inherits Animatable
Implements IFormattable
繼承
衍生
屬性
實作

備註

相較於圖形的幾何Geometry Compared to Shape

System.Windows.Shapes.Shape類別具有FillStroke,和其他屬性呈現Geometry和其衍生的類別缺少。The System.Windows.Shapes.Shape class has a Fill, Stroke, and other rendering properties that Geometry and its derived classes lack. Shape類別是FrameworkElement,並因此參與版面配置系統,其衍生的類別可用來支援任何元素的內容當做UIElement子系。The Shape class is a FrameworkElement and therefore participates in the layout system; its derived classes can be used as the content of any element that supports UIElement children.

Geometry類別,相反地,只需定義圖形的幾何,而無法呈現其本身。The Geometry class, on the other hand, simply defines the geometry of a shape, and cannot render itself. 其單純性,因為它具有更廣泛的使用。Because of its simplicity, it has a wider range of uses.

Freezable 功能: 因為它繼承自Freezable類別,Geometry類別會提供數個特殊功能︰Geometry物件可以宣告為資源、 多個物件,成為唯讀,以改善在共用效能、 複製,並變更為安全執行緒。Freezable Features: Because it inherits from the Freezable class, the Geometry class provides several special features: Geometry objects can be declared as resources, shared among multiple objects, made read-only to improve performance, cloned, and made thread-safe. 如需詳細資訊,所提供的不同功能的相關Freezable物件,請參閱Freezable 物件概觀For more information about the different features provided by Freezable objects, see Freezable Objects Overview.

給繼承者的注意事項

雖然此類別是抽象的但是不公開可延伸。Although this class is abstract, it is not publicly extensible.

欄位

TransformProperty TransformProperty TransformProperty TransformProperty

識別 Transform 相依性屬性。Identifies the Transform dependency property.

屬性

Bounds Bounds Bounds Bounds

取得Rect指定的軸對齊週框方塊GeometryGets a Rect that specifies the axis-aligned bounding box of the Geometry.

CanFreeze CanFreeze CanFreeze CanFreeze

取得值,指出是否可以將物件設為不可修改。Gets a value that indicates whether the object can be made unmodifiable.

(Inherited from Freezable)
DependencyObjectType DependencyObjectType DependencyObjectType DependencyObjectType

取得包裝此執行個體之 CLRCLR 型別的 DependencyObjectTypeGets the DependencyObjectType that wraps the CLRCLR type of this instance.

(Inherited from DependencyObject)
Dispatcher Dispatcher Dispatcher Dispatcher

取得DispatcherDispatcherObject相關聯。Gets the Dispatcher this DispatcherObject is associated with.

(Inherited from DispatcherObject)
Empty Empty Empty Empty

取得空的物件。Gets an empty object.

HasAnimatedProperties HasAnimatedProperties HasAnimatedProperties HasAnimatedProperties

取得值,這個值表示是否有一個或多個 AnimationClock 物件與這個物件的任何一個相依性屬性相關聯。Gets a value that indicates whether one or more AnimationClock objects is associated with any of this object's dependency properties.

(Inherited from Animatable)
IsFrozen IsFrozen IsFrozen IsFrozen

取得值,該值表示物件目前是否可修改。Gets a value that indicates whether the object is currently modifiable.

(Inherited from Freezable)
IsSealed IsSealed IsSealed IsSealed

取得值,這個值表示此執行個體目前是否已密封 (唯讀)。Gets a value that indicates whether this instance is currently sealed (read-only).

(Inherited from DependencyObject)
StandardFlatteningTolerance StandardFlatteningTolerance StandardFlatteningTolerance StandardFlatteningTolerance

取得多邊形近似法使用的標準容許。Gets the standard tolerance used for polygonal approximation.

Transform Transform Transform Transform

取得或設定Transform套用至物件GeometryGets or sets the Transform object applied to a Geometry.

方法

ApplyAnimationClock(DependencyProperty, AnimationClock) ApplyAnimationClock(DependencyProperty, AnimationClock) ApplyAnimationClock(DependencyProperty, AnimationClock) ApplyAnimationClock(DependencyProperty, AnimationClock)

AnimationClock 套用至指定的 DependencyPropertyApplies an AnimationClock to the specified DependencyProperty. 如果屬性已有動畫效果,即使用 SnapshotAndReplace 遞移式行為。If the property is already animated, the SnapshotAndReplace handoff behavior is used.

(Inherited from Animatable)
ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior)

AnimationClock 套用至指定的 DependencyPropertyApplies an AnimationClock to the specified DependencyProperty. 如果已建立屬性的動畫,則會使用指定的 HandoffBehaviorIf the property is already animated, the specified HandoffBehavior is used.

(Inherited from Animatable)
BeginAnimation(DependencyProperty, AnimationTimeline) BeginAnimation(DependencyProperty, AnimationTimeline) BeginAnimation(DependencyProperty, AnimationTimeline) BeginAnimation(DependencyProperty, AnimationTimeline)

將動畫套用至指定的 DependencyPropertyApplies an animation to the specified DependencyProperty. 呈現下一個畫面格後,就會啟動動畫。The animation is started when the next frame is rendered. 如果指定的屬性已有動畫效果,即使用 SnapshotAndReplace 遞移式行為。If the specified property is already animated, the SnapshotAndReplace handoff behavior is used.

(Inherited from Animatable)
BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)

將動畫套用至指定的 DependencyPropertyApplies an animation to the specified DependencyProperty. 呈現下一個畫面格後,就會啟動動畫。The animation is started when the next frame is rendered. 如果已建立指定之屬性的動畫,則會使用指定的 HandoffBehaviorIf the specified property is already animated, the specified HandoffBehavior is used.

(Inherited from Animatable)
CheckAccess() CheckAccess() CheckAccess() CheckAccess()

判斷呼叫的執行緒是否可以存取這個DispatcherObjectDetermines whether the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)
ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty)

清除屬性的區域數值。Clears the local value of a property. 要清除的屬性是由 DependencyProperty 識別項所指定。The property to be cleared is specified by a DependencyProperty identifier.

(Inherited from DependencyObject)
ClearValue(DependencyPropertyKey) ClearValue(DependencyPropertyKey) ClearValue(DependencyPropertyKey) ClearValue(DependencyPropertyKey)

清除唯讀屬性的區域數值。Clears the local value of a read-only property. 要清除的屬性是由 DependencyPropertyKey 所指定。The property to be cleared is specified by a DependencyPropertyKey.

(Inherited from DependencyObject)
Clone() Clone() Clone() Clone()

建立這個 Geometry 的可修改複製,製作這個物件值的深層複製。Creates a modifiable clone of the Geometry, making deep copies of the object's values. 當複製相依性屬性時,這個方法會複製資源參考和資料繫結 (但可能無法再解析),但不會複製動畫或它們目前的值。When copying dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values.

CloneCore(Freezable) CloneCore(Freezable) CloneCore(Freezable) CloneCore(Freezable)

使用基底 (非動畫) 屬性值,將執行個體設為指定 Freezable 的複製品 (深層複製)。Makes the instance a clone (deep copy) of the specified Freezable using base (non-animated) property values.

(Inherited from Freezable)
CloneCurrentValue() CloneCurrentValue() CloneCurrentValue() CloneCurrentValue()

建立的可修改複製品Geometry物件,使物件的目前值的深層複本。Creates a modifiable clone of the Geometry object, making deep copies of the object's current values. 不會複製資源參考、資料繫結和動畫,但是會複製其目前值。Resource references, data bindings, and animations are not copied, but their current values are.

CloneCurrentValueCore(Freezable) CloneCurrentValueCore(Freezable) CloneCurrentValueCore(Freezable) CloneCurrentValueCore(Freezable)

使用目前的屬性值,讓執行個體成為指定之 Freezable 的可修改複本 (深層複本)。Makes the instance a modifiable clone (deep copy) of the specified Freezable using current property values.

(Inherited from Freezable)
CoerceValue(DependencyProperty) CoerceValue(DependencyProperty) CoerceValue(DependencyProperty) CoerceValue(DependencyProperty)

強制轉型所指定相依性屬性的值。Coerces the value of the specified dependency property. 叫用存在於呼叫 CoerceValueCallback 上相依性屬性之屬性中繼資料內所指定的任何 DependencyObject 函式,就可以達到這一點。This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject.

(Inherited from DependencyObject)
Combine(Geometry, Geometry, GeometryCombineMode, Transform) Combine(Geometry, Geometry, GeometryCombineMode, Transform) Combine(Geometry, Geometry, GeometryCombineMode, Transform) Combine(Geometry, Geometry, GeometryCombineMode, Transform)

結合兩個使用指定的幾何GeometryCombineMode和指定的轉換套用至產生的幾何。Combines the two geometries using the specified GeometryCombineMode and applies the specified transform to the resulting geometry.

Combine(Geometry, Geometry, GeometryCombineMode, Transform, Double, ToleranceType) Combine(Geometry, Geometry, GeometryCombineMode, Transform, Double, ToleranceType) Combine(Geometry, Geometry, GeometryCombineMode, Transform, Double, ToleranceType) Combine(Geometry, Geometry, GeometryCombineMode, Transform, Double, ToleranceType)

結合兩個使用指定的幾何GeometryCombineMode和容錯因數,然後將指定的轉換套用至產生的幾何。Combines the two geometries using the specified GeometryCombineMode and tolerance factor, and applies the specified transform to the resulting geometry.

CreateInstance() CreateInstance() CreateInstance() CreateInstance()

初始化 Freezable 類別的新執行個體。Initializes a new instance of the Freezable class.

(Inherited from Freezable)
CreateInstanceCore() CreateInstanceCore() CreateInstanceCore() CreateInstanceCore()

在衍生類別中實作時,會建立的新執行個體Freezable衍生的類別。When implemented in a derived class, creates a new instance of the Freezable derived class.

(Inherited from Freezable)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷提供的 DependencyObject 和目前的 DependencyObject 是否相等。Determines whether a provided DependencyObject is equivalent to the current DependencyObject.

(Inherited from DependencyObject)
FillContains(Geometry) FillContains(Geometry) FillContains(Geometry) FillContains(Geometry)

表示目前幾何是否完整包含指定GeometryIndicates whether the current geometry completely contains the specified Geometry.

FillContains(Geometry, Double, ToleranceType) FillContains(Geometry, Double, ToleranceType) FillContains(Geometry, Double, ToleranceType) FillContains(Geometry, Double, ToleranceType)

表示目前幾何是否包含指定Geometry,指定的邊際誤差。Indicates whether the current geometry contains the specified Geometry, given the specified margin of error.

FillContains(Point) FillContains(Point) FillContains(Point) FillContains(Point)

表示幾何是否包含指定PointIndicates whether the geometry contains the specified Point.

FillContains(Point, Double, ToleranceType) FillContains(Point, Double, ToleranceType) FillContains(Point, Double, ToleranceType) FillContains(Point, Double, ToleranceType)

表示幾何是否包含指定Point,指定的邊際誤差。Indicates whether the geometry contains the specified Point, given the specified margin of error.

FillContainsWithDetail(Geometry) FillContainsWithDetail(Geometry) FillContainsWithDetail(Geometry) FillContainsWithDetail(Geometry)

傳回值,這個值,描述目前幾何與所指定的幾何的交集。Returns a value that describes the intersection between the current geometry and the specified geometry.

FillContainsWithDetail(Geometry, Double, ToleranceType) FillContainsWithDetail(Geometry, Double, ToleranceType) FillContainsWithDetail(Geometry, Double, ToleranceType) FillContainsWithDetail(Geometry, Double, ToleranceType)

指定指定的邊際誤差的情況下傳回一個值,描述目前幾何與所指定的幾何的交集。Returns a value that describes the intersection between the current geometry and the specified geometry, given the specified margin of error.

Freeze() Freeze() Freeze() Freeze()

將目前的物件設為不可修改,並將其 IsFrozen 屬性設定為 trueMakes the current object unmodifiable and sets its IsFrozen property to true.

(Inherited from Freezable)
FreezeCore(Boolean) FreezeCore(Boolean) FreezeCore(Boolean) FreezeCore(Boolean)

將這個 Animatable 物件設定為不可修改,或決定是否可以將它設定為不可修改。Makes this Animatable object unmodifiable or determines whether it can be made unmodifiable.

(Inherited from Animatable)
GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty)

傳回指定之 DependencyProperty 的非動畫實值。Returns the non-animated value of the specified DependencyProperty.

(Inherited from Animatable)
GetArea() GetArea() GetArea() GetArea()

取得填滿區域的區域Geometry物件。Gets the area of the filled region of the Geometry object.

GetArea(Double, ToleranceType) GetArea(Double, ToleranceType) GetArea(Double, ToleranceType) GetArea(Double, ToleranceType)

取得指定的容許誤差,填滿區域內的區域中,Geometry物件。Gets the area, within the specified tolerance, of the filled region of the Geometry object.

GetAsFrozen() GetAsFrozen() GetAsFrozen() GetAsFrozen()

建立的凍結的複本Freezable,使用基底 (非動畫) 屬性值。Creates a frozen copy of the Freezable, using base (non-animated) property values. 因為複本已凍結,則會傳址方式複製任何凍結子物件。Because the copy is frozen, any frozen sub-objects are copied by reference.

(Inherited from Freezable)
GetAsFrozenCore(Freezable) GetAsFrozenCore(Freezable) GetAsFrozenCore(Freezable) GetAsFrozenCore(Freezable)

使用基底 (非動畫) 屬性值,將執行個體設為指定 Freezable 的凍結複本。Makes the instance a frozen clone of the specified Freezable using base (non-animated) property values.

(Inherited from Freezable)
GetCurrentValueAsFrozen() GetCurrentValueAsFrozen() GetCurrentValueAsFrozen() GetCurrentValueAsFrozen()

建立的凍結的複本Freezable使用目前的屬性值。Creates a frozen copy of the Freezable using current property values. 因為複本已凍結,則會傳址方式複製任何凍結子物件。Because the copy is frozen, any frozen sub-objects are copied by reference.

(Inherited from Freezable)
GetCurrentValueAsFrozenCore(Freezable) GetCurrentValueAsFrozenCore(Freezable) GetCurrentValueAsFrozenCore(Freezable) GetCurrentValueAsFrozenCore(Freezable)

將目前執行個體設為所指定 Freezable 的凍結複本。Makes the current instance a frozen clone of the specified Freezable. 如果物件具有動畫相依性屬性,則會複製其目前的動畫值。If the object has animated dependency properties, their current animated values are copied.

(Inherited from Freezable)
GetFlattenedPathGeometry() GetFlattenedPathGeometry() GetFlattenedPathGeometry() GetFlattenedPathGeometry()

取得PathGeometry也就是多邊形近似法Geometry物件。Gets a PathGeometry that is a polygonal approximation of the Geometry object.

GetFlattenedPathGeometry(Double, ToleranceType) GetFlattenedPathGeometry(Double, ToleranceType) GetFlattenedPathGeometry(Double, ToleranceType) GetFlattenedPathGeometry(Double, ToleranceType)

取得PathGeometry,這是在指定的容許誤差內的多邊形近似值Geometry物件。Gets a PathGeometry, within the specified tolerance, that is a polygonal approximation of the Geometry object.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

取得這個 DependencyObject 的雜湊程式碼。Gets a hash code for this DependencyObject.

(Inherited from DependencyObject)
GetLocalValueEnumerator() GetLocalValueEnumerator() GetLocalValueEnumerator() GetLocalValueEnumerator()

建立特定的列舉值,以判斷哪些相依性屬性在此 DependencyObject 上具有本機設定的值。Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject.

(Inherited from DependencyObject)
GetOutlinedPathGeometry() GetOutlinedPathGeometry() GetOutlinedPathGeometry() GetOutlinedPathGeometry()

取得PathGeometry也就是填滿的區域的簡單外框GeometryGets a PathGeometry that is a simplified outline of the filled region of the Geometry.

GetOutlinedPathGeometry(Double, ToleranceType) GetOutlinedPathGeometry(Double, ToleranceType) GetOutlinedPathGeometry(Double, ToleranceType) GetOutlinedPathGeometry(Double, ToleranceType)

取得PathGeometry,這是在指定的容許誤差內的填滿區域的簡單外框GeometryGets a PathGeometry, within the specified tolerance, that is a simplified outline of the filled region of the Geometry.

GetRenderBounds(Pen) GetRenderBounds(Pen) GetRenderBounds(Pen) GetRenderBounds(Pen)

軸對齊的矩形剛好可以包含幾何,概述了之後,會傳回具有指定PenReturns an axis-aligned rectangle that is exactly large enough to contain the geometry after it has been outlined with the specified Pen.

GetRenderBounds(Pen, Double, ToleranceType) GetRenderBounds(Pen, Double, ToleranceType) GetRenderBounds(Pen, Double, ToleranceType) GetRenderBounds(Pen, Double, ToleranceType)

軸對齊的矩形剛好可以包含幾何,概述了之後,會傳回具有指定Pen,指定的容錯因數。Returns an axis-aligned rectangle that is exactly large enough to contain the geometry after it has been outlined with the specified Pen, given the specified tolerance factor.

GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

傳回 DependencyObject 的這個執行個體上之相依性屬性的目前有效值。Returns the current effective value of a dependency property on this instance of a DependencyObject.

(Inherited from DependencyObject)
GetWidenedPathGeometry(Pen) GetWidenedPathGeometry(Pen) GetWidenedPathGeometry(Pen) GetWidenedPathGeometry(Pen)

取得PathGeometry也就是圖形上定義之筆劃Geometry所指定產生PenGets a PathGeometry that is the shape defined by the stroke on the Geometry produced by the specified Pen.

GetWidenedPathGeometry(Pen, Double, ToleranceType) GetWidenedPathGeometry(Pen, Double, ToleranceType) GetWidenedPathGeometry(Pen, Double, ToleranceType) GetWidenedPathGeometry(Pen, Double, ToleranceType)

取得PathGeometry也就是圖形上定義之筆劃Geometry所指定產生Pen,指定的容錯因數。Gets a PathGeometry that is the shape defined by the stroke on the Geometry produced by the specified Pen, given the specified tolerance factor.

InvalidateProperty(DependencyProperty) InvalidateProperty(DependencyProperty) InvalidateProperty(DependencyProperty) InvalidateProperty(DependencyProperty)

重新評估指定之相依性屬性的有效值。Re-evaluates the effective value for the specified dependency property

(Inherited from DependencyObject)
IsEmpty() IsEmpty() IsEmpty() IsEmpty()

判斷物件是否為空白。Determines whether the object is empty.

MayHaveCurves() MayHaveCurves() MayHaveCurves() MayHaveCurves()

決定是否此物件,可能就具有弧形片段。Determines whether the object might have curved segments.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
OnChanged() OnChanged() OnChanged() OnChanged()

目前的 Freezable 物件遭到修改時進行呼叫。Called when the current Freezable object is modified.

(Inherited from Freezable)
OnFreezablePropertyChanged(DependencyObject, DependencyObject) OnFreezablePropertyChanged(DependencyObject, DependencyObject) OnFreezablePropertyChanged(DependencyObject, DependencyObject) OnFreezablePropertyChanged(DependencyObject, DependencyObject)

可確保,建立適當的內容指標DependencyObjectType剛才設定的資料成員。Ensures that appropriate context pointers are established for a DependencyObjectType data member that has just been set.

(Inherited from Freezable)
OnFreezablePropertyChanged(DependencyObject, DependencyObject, DependencyProperty) OnFreezablePropertyChanged(DependencyObject, DependencyObject, DependencyProperty) OnFreezablePropertyChanged(DependencyObject, DependencyObject, DependencyProperty) OnFreezablePropertyChanged(DependencyObject, DependencyObject, DependencyProperty)

這個成員支援 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 基礎結構,但是您不可以從程式碼直接使用它。This member supports the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

(Inherited from Freezable)
OnPropertyChanged(DependencyPropertyChangedEventArgs) OnPropertyChanged(DependencyPropertyChangedEventArgs) OnPropertyChanged(DependencyPropertyChangedEventArgs) OnPropertyChanged(DependencyPropertyChangedEventArgs)

覆寫 OnPropertyChanged(DependencyPropertyChangedEventArgs)DependencyObject 實作也可以叫用任何 Changed 處理常式,以回應類型 Freezable 的變更相依性屬性。Overrides the DependencyObject implementation of OnPropertyChanged(DependencyPropertyChangedEventArgs) to also invoke any Changed handlers in response to a changing dependency property of type Freezable.

(Inherited from Freezable)
Parse(String) Parse(String) Parse(String) Parse(String)

建立新Geometry從指定的字串,使用目前文化特性的執行個體。Creates a new Geometry instance from the specified string using the current culture.

ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

傳回相依性屬性的區域值 (如果存在)。Returns the local value of a dependency property, if it exists.

(Inherited from DependencyObject)
ReadPreamble() ReadPreamble() ReadPreamble() ReadPreamble()

可確保Freezable從有效的執行緒進行存取。Ensures that the Freezable is being accessed from a valid thread. 繼承者Freezable必須呼叫這個方法的任何開頭APIAPI讀取不相依性屬性的資料成員。Inheritors of Freezable must call this method at the beginning of any APIAPI that reads data members that are not dependency properties.

(Inherited from Freezable)
SetCurrentValue(DependencyProperty, Object) SetCurrentValue(DependencyProperty, Object) SetCurrentValue(DependencyProperty, Object) SetCurrentValue(DependencyProperty, Object)

設定相依性屬性的值,而不需要變更其值來源。Sets the value of a dependency property without changing its value source.

(Inherited from DependencyObject)
SetValue(DependencyProperty, Object) SetValue(DependencyProperty, Object) SetValue(DependencyProperty, Object) SetValue(DependencyProperty, Object)

設定相依性屬性的區域值 (由相依性屬性的識別碼所指定)。Sets the local value of a dependency property, specified by its dependency property identifier.

(Inherited from DependencyObject)
SetValue(DependencyPropertyKey, Object) SetValue(DependencyPropertyKey, Object) SetValue(DependencyPropertyKey, Object) SetValue(DependencyPropertyKey, Object)

設定唯讀相依性屬性的區域數值 (由相依性屬性的 DependencyPropertyKey 識別項所指定)。Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property.

(Inherited from DependencyObject)
ShouldSerializeProperty(DependencyProperty) ShouldSerializeProperty(DependencyProperty) ShouldSerializeProperty(DependencyProperty) ShouldSerializeProperty(DependencyProperty)

傳回值,這個值表示序列化程序是否應該序列化所提供相依性屬性的值。Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.

(Inherited from DependencyObject)
ShouldSerializeTransform() ShouldSerializeTransform() ShouldSerializeTransform() ShouldSerializeTransform()

取得值,指出是否值Transform屬性應該序列化。Gets a value that indicates whether the value of the Transform property should be serialized.

StrokeContains(Pen, Point) StrokeContains(Pen, Point) StrokeContains(Pen, Point) StrokeContains(Pen, Point)

決定是否指定Point包含在套用指定所產生的筆劃Pen幾何圖案。Determines whether the specified Point is contained in the stroke produced by applying the specified Pen to the geometry.

StrokeContains(Pen, Point, Double, ToleranceType) StrokeContains(Pen, Point, Double, ToleranceType) StrokeContains(Pen, Point, Double, ToleranceType) StrokeContains(Pen, Point, Double, ToleranceType)

決定是否指定Point包含在套用指定所產生的筆劃Pen幾何,以提供指定的邊際誤差。Determines whether the specified Point is contained in the stroke produced by applying the specified Pen to the geometry, given the specified margin of error.

StrokeContainsWithDetail(Pen, Geometry) StrokeContainsWithDetail(Pen, Geometry) StrokeContainsWithDetail(Pen, Geometry) StrokeContainsWithDetail(Pen, Geometry)

傳回值,描述指定的交集Geometry並建立所將套用指定的筆劃Pen至目前幾何。Returns a value that describes the intersection between the specified Geometry and the stroke created by applying the specified Pen to the current geometry.

StrokeContainsWithDetail(Pen, Geometry, Double, ToleranceType) StrokeContainsWithDetail(Pen, Geometry, Double, ToleranceType) StrokeContainsWithDetail(Pen, Geometry, Double, ToleranceType) StrokeContainsWithDetail(Pen, Geometry, Double, ToleranceType)

取得值,描述指定的交集Geometry並建立所將套用指定的筆劃Pen至目前幾何,提供指定的邊際誤差。Gets a value that describes the intersection between the specified Geometry and the stroke created by applying the specified Pen to the current geometry, given the specified margin of error.

ToString() ToString() ToString() ToString()

建立根據目前的文化特性之物件的字串表示。Creates a string representation of the object based on the current culture.

ToString(IFormatProvider) ToString(IFormatProvider) ToString(IFormatProvider) ToString(IFormatProvider)

建立使用指定的特定文化特性格式資訊之物件的字串表示。Creates a string representation of the object using the specified culture-specific formatting information.

VerifyAccess() VerifyAccess() VerifyAccess() VerifyAccess()

強制執行呼叫的執行緒可以存取這個DispatcherObjectEnforces that the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)
WritePostscript() WritePostscript() WritePostscript() WritePostscript()

引發 FreezableChanged 事件,並叫用其 OnChanged() 方法。Raises the Changed event for the Freezable and invokes its OnChanged() method. 在任何 API 修改未以相依性屬性儲存的類別成員之後,衍生自 Freezable 的類別應該在 API 的結尾呼叫這個方法。Classes that derive from Freezable should call this method at the end of any API that modifies class members that are not stored as dependency properties.

(Inherited from Freezable)
WritePreamble() WritePreamble() WritePreamble() WritePreamble()

確認Freezable未凍結,從有效的執行緒內容進行存取。Verifies that the Freezable is not frozen and that it is being accessed from a valid threading context. Freezable 繼承者應該呼叫這個方法的任何開頭APIAPI寫入不是相依性屬性的資料成員。Freezable inheritors should call this method at the beginning of any APIAPI that writes to data members that are not dependency properties.

(Inherited from Freezable)

明確介面實作

IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider)

使用指定的格式,格式化目前執行個體的值。Formats the value of the current instance using the specified format.

事件

Changed Changed Changed Changed

發生時Freezable或它所包含的物件遭到修改。Occurs when the Freezable or an object it contains is modified.

(Inherited from Freezable)

適用於

另請參閱