Gjsify LogoGjsify Logo

A #VipsRect is a rectangular area of pixels. This is a struct for performing simple rectangle algebra.

record

Hierarchy

  • Rect

Index

Constructors

Properties

height: number

height of rectangle

field
left: number

left edge of rectangle

field
top: number

top edge of rectangle

field
width: number

width of rectangle

field
name: string

Methods

  • includespoint(x: number, y: number): boolean
  • Does r contain point (x, y)?

    Parameters

    • x: number

      position to test for

    • y: number

      position to test for

    Returns boolean

  • isempty(): boolean
  • marginadjust(n: number): void
  • normalise(): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method