Partager via


IXRPathFigure::SetIsFilled (Compact 2013)

3/28/2014

This method specifies whether an IXRPathFigure includes the contained area or is only an outline.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetIsFilled(
    __in bool IsFilled
) = 0;

Parameters

  • IsFilled
    [in] Set true if an IXRPathFigure is filled. Otherwise, false. The default is true.

Return Values

Returns a standard HRESULT value.

Remarks

If this property is set to false, then the application uses only the outline of the IXRPathFigure for hit testing, rendering, and clipping, and the contained area does not contribute to the overall area of IXRPathFigure.

You can use this property to create unfilled strokes in a filled geometry.

.NET Framework Equivalent

System.Windows.Media.PathFigure.IsFilled

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPathFigure
IXRPathFigure::GetIsFilled