phaser4-rex-plugins
Version:
16 lines (14 loc) • 408 B
TypeScript
export default GetBoundsConfig;
declare namespace GetBoundsConfig {
type BoundsType = {
left?: number,
right?: number,
top?: number,
bottom?: number
}
type PaddingConfigType = number | BoundsType;
}
declare function GetBoundsConfig(
config: GetBoundsConfig.PaddingConfigType,
out?: GetBoundsConfig.BoundsType
): GetBoundsConfig.BoundsType;