# Namespace: Point
# Table of contents
# Variables
# Functions
# Variables
# X
• X: Object
# Type declaration
Name | Type |
---|---|
CENTER | IPoint |
LEFT | IPoint |
RIGHT | IPoint |
# Defined in
src/Point/axisAliases.ts:10 (opens new window)
# Y
• Y: Object
# Type declaration
Name | Type |
---|---|
BOTTOM | IPoint |
CENTER | IPoint |
TOP | IPoint |
# Defined in
src/Point/axisAliases.ts:27 (opens new window)
# Functions
# fromAbsolute
▸ Const
fromAbsolute(position
): IPoint
# Parameters
Name | Type | Description |
---|---|---|
position | number | absolute point |
# Returns
IPoint
# Defined in
src/Point/fromAbsolute.ts:8 (opens new window)
# fromFactor
▸ Const
fromFactor(factor
): IPoint
# Parameters
Name | Type |
---|---|
factor | number |
# Returns
IPoint
# Defined in
src/Point/fromFactor.ts:8 (opens new window)
# fromPercentage
▸ Const
fromPercentage(percentage
): IPoint
# Parameters
Name | Type |
---|---|
percentage | string | number |
# Returns
# Defined in
src/Point/fromPercentage.ts:10 (opens new window)
# fromTag
▸ Const
fromTag(tag
): IPoint
# Parameters
Name | Type | Description |
---|---|---|
tag | Tag | can be Tag.START, Tag.CENTER or Tag.END |
# Returns
IPoint