Share via


LinearGradientBrushProperties-Funktion (d2d1helper.h)

Erstellt eine D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES-Struktur .

Syntax

D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES LinearGradientBrushProperties(
  [in, ref] const D2D1_POINT_2F & startPoint,
  [in, ref] const D2D1_POINT_2F & endPoint
);

Parameter

[in, ref] startPoint

Typ: const D2D1_POINT_2F

Der Startpunkt im Koordinatenbereich des Pinsels der Farbverlaufsachse.

[in, ref] endPoint

Typ: const D2D1_POINT_2F

Der Endpunkt im Koordinatenbereich des Pinsels der Farbverlaufsachse.

Rückgabewert

Typ: D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES

Eine Struktur, die den Start- und Endpunkt der Farbverlaufsachse für einen ID2D1LinearGradientBrush enthält.

Anforderungen

   
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 d2d1helper.h
Bibliothek D2d1.lib
DLL D2d1.dll