Class HexGridScaledToFitDto (Inputs.Point)
Constructors
constructor
new HexGridScaledToFitDto( width?: number, height?: number, nrHexagonsInHeight?: number, nrHexagonsInWidth?: number, centerGrid?: boolean, pointsOnGround?: boolean,): HexGridScaledToFitDto Parameters
Optionalwidth: numberOptionalheight: numberOptionalnrHexagonsInHeight: numberOptionalnrHexagonsInWidth: numberOptionalcenterGrid: booleanOptionalpointsOnGround: boolean
Properties
Optionalwidth
width?: number
Optionalheight
height?: number
OptionalnrHexagonsInWidth
nrHexagonsInWidth?: number
OptionalnrHexagonsInHeight
nrHexagonsInHeight?: number
OptionalflatTop
flatTop?: boolean
OptionalextendTop
extendTop?: boolean
OptionalextendBottom
extendBottom?: boolean
OptionalextendLeft
extendLeft?: boolean
OptionalextendRight
extendRight?: boolean
OptionalcenterGrid
centerGrid?: boolean
OptionalpointsOnGround
pointsOnGround?: boolean
用于
point.hexGridScaledToFit的区域、数量和朝向,它调整六边形的大小,使给定数量的六边形填满宽度和高度。