Class Rectangle

Inheritance
Rectangle
Implements
Namespace: PSPDFKit.Sdk.Models.Geometry
Assembly: Sdk.dll
Syntax
public sealed class Rectangle : IRectangle

Constructors

| Edit this page View Source

Rectangle()

Declaration
public Rectangle()
| Edit this page View Source

Rectangle(Rect)

Declaration
public Rectangle(Rect rectangle)
Parameters
Type Name Description
Rect rectangle
| Edit this page View Source

Rectangle(double, double, double, double)

Declaration
public Rectangle(double left, double top, double width, double height)
Parameters
Type Name Description
double left
double top
double width
double height

Properties

| Edit this page View Source

Height

Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public double Height { get; init; }
Property Value
Type Description
double
| Edit this page View Source

Left

Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public double Left { get; init; }
Property Value
Type Description
double
| Edit this page View Source

Top

Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public double Top { get; init; }
Property Value
Type Description
double
| Edit this page View Source

Width

Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public double Width { get; init; }
Property Value
Type Description
double

Implements

IRectangle