Dela via


CompositionNineGridBrush.SetInsetScales Method

Definition

Overloads

SetInsetScales(Single)

Sets the (same) scale to be applied to the left, top, right, and bottom insets. Defaults to 1.0f.

SetInsetScales(Single, Single, Single, Single)

Sets the scale to be applied to the left, top, right, and bottom insets respectively. Defaults to 1.0f.

SetInsetScales(Single)

Sets the (same) scale to be applied to the left, top, right, and bottom insets. Defaults to 1.0f.

public:
 virtual void SetInsetScales(float scale) = SetInsetScales;
/// [Windows.Foundation.Metadata.Overload("SetInsetScales")]
void SetInsetScales(float const& scale);
[Windows.Foundation.Metadata.Overload("SetInsetScales")]
public void SetInsetScales(float scale);
function setInsetScales(scale)
Public Sub SetInsetScales (scale As Single)

Parameters

scale
Single

float

The scale for all of the insets.

Attributes

See also

Applies to

SetInsetScales(Single, Single, Single, Single)

Sets the scale to be applied to the left, top, right, and bottom insets respectively. Defaults to 1.0f.

public:
 virtual void SetInsetScales(float left, float top, float right, float bottom) = SetInsetScales;
/// [Windows.Foundation.Metadata.Overload("SetInsetScalesWithValues")]
void SetInsetScales(float const& left, float const& top, float const& right, float const& bottom);
[Windows.Foundation.Metadata.Overload("SetInsetScalesWithValues")]
public void SetInsetScales(float left, float top, float right, float bottom);
function setInsetScales(left, top, right, bottom)
Public Sub SetInsetScales (left As Single, top As Single, right As Single, bottom As Single)

Parameters

left
Single

float

The scale of the left inset.

top
Single

float

The scale of the top inset.

right
Single

float

The scale of the right inset.

bottom
Single

float

The scale of the bottom inset.

Attributes

See also

Applies to