Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IOption

Options for MaxRect Packer

property

{boolean} options.smart Smart sizing packer (default is true)

property

{boolean} options.pot use power of 2 sizing (default is true)

property

{boolean} options.square use square size (default is false)

property

{boolean} options.allowRotation allow rotation packing (default is false)

property

{boolean} options.tag allow auto grouping based on rect.tag (default is false)

property

{boolean} options.exclusiveTag tagged rects will have dependent bin, if set to false, packer will try to put tag rects into the same bin (default is true)

property

{boolean} options.border atlas edge spacing (default is 0)

property

{PACKING_LOGIC} options.logic MAX_AREA or MAX_EDGE based sorting logic (default is MAX_EDGE)

export
interface

Option

Hierarchy

  • IOption

Index

Properties

Optional allowRotation

allowRotation: undefined | false | true

Optional border

border: undefined | number

Optional exclusiveTag

exclusiveTag: undefined | false | true

Optional logic

Optional pot

pot: undefined | false | true

Optional smart

smart: undefined | false | true

Optional square

square: undefined | false | true

Optional tag

tag: undefined | false | true

Generated using TypeDoc