DrawingContext.DrawEllipse 方法

定義

繪製橢圓形。

多載

名稱 Description
DrawEllipse(Brush, Pen, Point, Double, Double)

繪製一個包含指定 BrushPen的橢圓。

DrawEllipse(Brush, Pen, Point, AnimationClock, Double, AnimationClock, Double, AnimationClock)

繪製一個帶有指定 BrushPen 的橢圓形,並套用指定的動畫時鐘。

DrawEllipse(Brush, Pen, Point, Double, Double)

繪製一個包含指定 BrushPen的橢圓。

public:
 abstract void DrawEllipse(System::Windows::Media::Brush ^ brush, System::Windows::Media::Pen ^ pen, System::Windows::Point center, double radiusX, double radiusY);
public abstract void DrawEllipse(System.Windows.Media.Brush brush, System.Windows.Media.Pen pen, System.Windows.Point center, double radiusX, double radiusY);
abstract member DrawEllipse : System.Windows.Media.Brush * System.Windows.Media.Pen * System.Windows.Point * double * double -> unit
Public MustOverride Sub DrawEllipse (brush As Brush, pen As Pen, center As Point, radiusX As Double, radiusY As Double)

參數

brush
Brush

用來填補橢圓的刷子。 這是可選的,且可為 null。 若刷子為 null,則不畫任何填充。

pen
Pen

用來撫摸橢圓的筆。 這是可選的,且可為 null。 若筆為 null,則不畫一筆劃。

center
Point

橢圓中心的位置。

radiusX
Double

橢圓的水平半徑。

radiusY
Double

橢圓的垂直半徑。

備註

畫筆和筆都可以是 null。 若刷子為 null,則不進行填充。 若筆為 null,則不進行 stoke。 如果筆和畫筆都是 null,則該圖畫不可見。

適用於

DrawEllipse(Brush, Pen, Point, AnimationClock, Double, AnimationClock, Double, AnimationClock)

繪製一個帶有指定 BrushPen 的橢圓形,並套用指定的動畫時鐘。

public:
 abstract void DrawEllipse(System::Windows::Media::Brush ^ brush, System::Windows::Media::Pen ^ pen, System::Windows::Point center, System::Windows::Media::Animation::AnimationClock ^ centerAnimations, double radiusX, System::Windows::Media::Animation::AnimationClock ^ radiusXAnimations, double radiusY, System::Windows::Media::Animation::AnimationClock ^ radiusYAnimations);
public abstract void DrawEllipse(System.Windows.Media.Brush brush, System.Windows.Media.Pen pen, System.Windows.Point center, System.Windows.Media.Animation.AnimationClock centerAnimations, double radiusX, System.Windows.Media.Animation.AnimationClock radiusXAnimations, double radiusY, System.Windows.Media.Animation.AnimationClock radiusYAnimations);
abstract member DrawEllipse : System.Windows.Media.Brush * System.Windows.Media.Pen * System.Windows.Point * System.Windows.Media.Animation.AnimationClock * double * System.Windows.Media.Animation.AnimationClock * double * System.Windows.Media.Animation.AnimationClock -> unit
Public MustOverride Sub DrawEllipse (brush As Brush, pen As Pen, center As Point, centerAnimations As AnimationClock, radiusX As Double, radiusXAnimations As AnimationClock, radiusY As Double, radiusYAnimations As AnimationClock)

參數

brush
Brush

用來填補橢圓的刷子。 這是可選的,且可為 null。 若刷子為 null,則不畫任何填充。

pen
Pen

用來撫摸橢圓的筆。 這是可選的,且可為 null。 若筆為 null,則不畫一筆劃。

center
Point

橢圓中心的位置。

centerAnimations
AnimationClock

用來動畫橢圓中心位置的時鐘,或 null 是不做動畫。 這個時鐘必須由 AnimationTimeline 能讓 Point 物件有生命的機器製作。

radiusX
Double

橢圓的水平半徑。

radiusXAnimations
AnimationClock

用來動畫橢圓 x 半徑的時鐘,或者 null 說沒有動畫。 這個時鐘必須由 AnimationTimeline 能讓 Double 物件有生命的機器製作。

radiusY
Double

橢圓的垂直半徑。

radiusYAnimations
AnimationClock

用來動畫橢圓 y 半徑的時鐘,或 null 不做動畫。 這個時鐘必須由 AnimationTimeline 能讓 Double 物件有生命的機器製作。

備註

畫筆和筆都可以是 null。 若刷子為 null,則不進行填充。 若筆為 null,則不進行 stoke。 如果筆和畫筆都是 null,則該圖畫不可見。

適用於