---
UID: NS:d2d1.D2D1_TRIANGLE
title: D2D1_TRIANGLE (d2d1.h)
description: Contains the three vertices that describe a triangle.
old-location: direct2d\D2D1_TRIANGLE.htm
tech.root: Direct2D
ms.assetid: 6978bfff-05ca-44b6-8694-c4741f7987f6
ms.date: 12/05/2018
ms.keywords: D2D1_TRIANGLE, D2D1_TRIANGLE structure [Direct2D], d2d1/D2D1_TRIANGLE, direct2d.D2D1_TRIANGLE
f1_keywords:
- d2d1/D2D1_TRIANGLE
dev_langs:
- c++
req.header: d2d1.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps \| UWP apps]
req.target-min-winversvr: Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps \| UWP apps]
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- HeaderDef
api_location:
- d2d1.h
api_name:
- D2D1_TRIANGLE
targetos: Windows
req.typenames: D2D1_TRIANGLE
req.redist: 
ms.custom: 19H1
---

# D2D1_TRIANGLE structure


## -description


Contains the three vertices that describe a triangle.


## -struct-fields




### -field point1

Type: <b><a href="https://docs.microsoft.com/windows/desktop/Direct2D/d2d1-point-2f">D2D1_POINT_2F</a></b>

The first vertex of a triangle.


### -field point2

Type: <b><a href="https://docs.microsoft.com/windows/desktop/Direct2D/d2d1-point-2f">D2D1_POINT_2F</a></b>

The second vertex of a triangle.


### -field point3

Type: <b><a href="https://docs.microsoft.com/windows/desktop/Direct2D/d2d1-point-2f">D2D1_POINT_2F</a></b>

The third vertex of a triangle.

