Share via


ID2D1RadialGradientBrush::SetCenter-Methode (d2d1.h)

Gibt den Mittelpunkt der Farbverlaufsellipse im Koordinatenraum des Pinsels an.

Syntax

void SetCenter(
  D2D1_POINT_2F center
);

Parameter

center

Typ: D2D1_POINT_2F

Der Mittelpunkt der Farbverlaufsellipse im Koordinatenraum des Pinsels.

Rückgabewert

Keine

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows 7, Windows Vista mit SP2 und Plattformupdate für Windows Vista [Desktop-Apps | UWP-Apps]
Unterstützte Mindestversion (Server) Windows Server 2008 R2, Windows Server 2008 mit SP2 und Plattformupdate für Windows Server 2008 [Desktop-Apps | UWP-Apps]
Zielplattform Windows
Kopfzeile d2d1.h
Bibliothek D2d1.lib
DLL D2d1.dll

Weitere Informationen

ID2D1RadialGradientBrush