public readonly record struct RunicHostedRegionSize : IEquatable<RunicHostedRegionSize> A region's size, in CSS pixels of the host page, and the page's device pixel ratio.
Parameters
WidthThe width, from 0 to 32,767.
HeightThe height, from 0 to 32,767.
ScaleThe device pixel ratio, from 0.25 to 8.
Remarks
Experimental; see docs/experimental.md.
Constructors
RunicHostedRegionSize
public RunicHostedRegionSize(int Width, int Height, double Scale) A region's size, in CSS pixels of the host page, and the page's device pixel ratio.
Parameters
WidthThe width, from 0 to 32,767.
HeightThe height, from 0 to 32,767.
ScaleThe device pixel ratio, from 0.25 to 8.
Remarks
Experimental; see docs/experimental.md.
Properties
Height
public int Height { get; init; } The height, from 0 to 32,767.
Scale
public double Scale { get; init; } The device pixel ratio, from 0.25 to 8.
Width
public int Width { get; init; } The width, from 0 to 32,767.