arlas-d3 / Exports / Dimensions
Class: Dimensions
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Dimensions(width
, height
)
Parameters
Name | Type |
---|---|
width |
number |
height |
number |
Defined in
src/calendar-timeline/lib/classes/dimensions/dimensions.ts:27
Properties
height
• height: number
Defined in
src/calendar-timeline/lib/classes/dimensions/dimensions.ts:23
margins
• margins: Margins
Defined in
src/calendar-timeline/lib/classes/dimensions/dimensions.ts:25
width
• width: number
Defined in
src/calendar-timeline/lib/classes/dimensions/dimensions.ts:22
Methods
equals
▸ equals(d
): boolean
Parameters
Name | Type |
---|---|
d |
Dimensions |
Returns
boolean
Defined in
src/calendar-timeline/lib/classes/dimensions/dimensions.ts:48
setHeight
▸ setHeight(height
): Dimensions
Parameters
Name | Type |
---|---|
height |
number |
Returns
Defined in
src/calendar-timeline/lib/classes/dimensions/dimensions.ts:38
setMargins
▸ setMargins(margins
): Dimensions
Parameters
Name | Type |
---|---|
margins |
Margins |
Returns
Defined in
src/calendar-timeline/lib/classes/dimensions/dimensions.ts:43
setWidth
▸ setWidth(width
): Dimensions
Parameters
Name | Type |
---|---|
width |
number |
Returns
Defined in
src/calendar-timeline/lib/classes/dimensions/dimensions.ts:33