Class: Margins
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Margins()
Properties
bottom
• bottom: number
= 0
Defined in
src/calendar-timeline/lib/classes/dimensions/margins.ts:21
left
• left: number
= 0
Defined in
src/calendar-timeline/lib/classes/dimensions/margins.ts:22
right
• right: number
= 0
Defined in
src/calendar-timeline/lib/classes/dimensions/margins.ts:23
top
• top: number
= 0
Defined in
src/calendar-timeline/lib/classes/dimensions/margins.ts:20
Methods
equals
▸ equals(m
): boolean
Parameters
Name | Type |
---|---|
m |
Margins |
Returns
boolean
Defined in
src/calendar-timeline/lib/classes/dimensions/margins.ts:40
setBottom
▸ setBottom(bottom
): Margins
Parameters
Name | Type |
---|---|
bottom |
number |
Returns
Defined in
src/calendar-timeline/lib/classes/dimensions/margins.ts:30
setLeft
▸ setLeft(left
): Margins
Parameters
Name | Type |
---|---|
left |
number |
Returns
Defined in
src/calendar-timeline/lib/classes/dimensions/margins.ts:35
setRight
▸ setRight(right
): Margins
Parameters
Name | Type |
---|---|
right |
number |
Returns
Defined in
src/calendar-timeline/lib/classes/dimensions/margins.ts:48
setTop
▸ setTop(top
): Margins
Parameters
Name | Type |
---|---|
top |
number |
Returns
Defined in
src/calendar-timeline/lib/classes/dimensions/margins.ts:25