Version

GetInterpolatedBrush Method

Gets the brush at the specified index from the specified collection. If index is not an integer, the result of this function call will be a brush interpolated between the brushes at the previous and following index values.
Syntax
'Declaration
 
Public Shared Function GetInterpolatedBrush( _
   ByVal target As BrushCollection, _
   ByVal index As Double _
) As Brush
public static Brush GetInterpolatedBrush( 
   BrushCollection target,
   double index
)

Parameters

target
The collection to pull brushes from.
index
The index of the brush to return.

Return Value

The brush at the specified index, or if the specified index is not an integer, an interpolated brush between the previous and next index.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also