<Code Lib>
2025 Method
Changes 0
M

CompoundStructure.CanLayerWidthBeNonZero

Description:
Identifies if changing the width of an existing layer from zero to a positive value will create a rectangular region.
Remarks:
This is only allowed if there is a vertical line such that all regions to the left are assigned to layers with index < layerIdx, and all regions to the right are assigned to layers with index > layerIdx.

public bool CanLayerWidthBeNonZero(
	int layerIdx
)

  • layerIdx
    The index of a CompoundStructureLayer.
Return Value Boolean Boolean

Loading…