RectKt

public final class RectKt
public final class RectKt

Functions

Link copied to clipboard
public final static Rect Rect(Point origin, Size size)
public final static Rect Rect(Point origin, Size size)

Creates a new instance of Rect with the given origin and size.

public final static Rect Rect(Integer x, Integer y, Integer width, Integer height)
public final static Rect Rect(Integer x, Integer y, Integer width, Integer height)

Creates a new instance of Rect with the given parameters.