Compartilhar via


IXRShape::SetStrokeStartLineCap (Compact 2013)

3/28/2014

This method sets a value that describes the new shape located at the beginning of a stroke in a shape object.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetStrokeStartLineCap(
    XRPenLineCap StrokeStartLineCap
) = 0; 

Parameters

  • StrokeStartLineCap
    [in] A float value that describes the new shape located at the beginning of a stroke in a shape object.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

This setting has no effect for a shape object that does not have a stroke or does not have start or endpoints. For example, this setting has no effect for an IXREllipse, which has a closed stroke.

.NET Framework Equivalent

System.Windows.Shapes.Shape.StrokeStartLineCap

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRShape
IXRShape::GetStrokeStartLineCap