---
UID: NS:d2d1_1helper.TypeTraits
title: TypeTraits (d2d1_1helper.h)
description: Contains implementations of Point, Size, and Rect that store their data using the specified type.
old-location: direct2d\typetraits_t_.htm
tech.root: Direct2D
ms.assetid: 18003d9f-4202-4bea-9580-bbf8fcdbca8f
ms.date: 12/05/2018
ms.keywords: TypeTraits, TypeTraits structure [Direct2D], TypeTraits<Type>, d2d1helper/TypeTraits, direct2d.typetraits_t_
f1_keywords:
- d2d1_1helper/TypeTraits
dev_langs:
- c++
req.header: d2d1_1helper.h
req.include-header: D2d1_1helper.h
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:
- d2d1helper.h
api_name:
- TypeTraits
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# TypeTraits structure


## -description


Contains implementations of <b>Point</b>, <b>Size</b>, and <b>Rect</b> that store their data using the specified type.


## -struct-fields




### -field field

 


### -field INT32

 




#### - Point


#### - Rect


#### - Size

