Link Search Menu Expand Document

Bounds

bounds.ts#L12

Class Bounds

constructor (xMin: number, xMax: number, yMin: number, yMax: number): Bounds

Name Type Default Description
xMin number    
xMax number    
yMin number    
yMax number    

Property .xMax : number

Property .xMin : number

Property .yMax : number

Property .yMin : number

Accessor .center : Point

Accessor .dx : number

Accessor .dy : number

Accessor .flip : Bounds

Accessor .rect : Rectangle

Accessor .xRange

Accessor .yRange

Method .contains (p: Point): boolean

Name Type Default Description
p Point    

Method .containsX (p: Point): boolean

Name Type Default Description
p Point    

Method .containsY (p: Point): boolean

Name Type Default Description
p Point    

Method .resize (dx: number, dy: number): Bounds

Name Type Default Description
dx number    
dy number    

Copyright © 2021 Mathigon.org