Table of Contents

Method ToRect

Namespace
SharpVectors.Renderers.Utils
Assembly
SharpVectors.Rendering.Wpf.dll

ToRect(ICssRect)

public static Rect ToRect(ICssRect rect)

Parameters

rect ICssRect

Returns

Rect

ToRect(SvgRectF)

This converts the specified Rect structure to a SvgRectF structure.

public static Rect ToRect(SvgRectF rect)

Parameters

rect SvgRectF

The Rect structure to convert.

Returns

Rect

The SvgRectF structure that is converted from the specified Rect structure.

ToRect(ISvgRect)

public static Rect ToRect(ISvgRect rect)

Parameters

rect ISvgRect

Returns

Rect