dbCreateDiffMaskGroup
dbCreateDiffMaskGroup(d_cellView t_groupName d_sameMaskGroup1 d_sameMaskGroup2) =>d_group/ nil
Description
Creates a diff-mask, color shape group (d_group) in the specified cellview with a pair of same-mask color shape groups and with the given name. The name must be unique amongst all diff-mask groups in the cellview.
A diff-mask, color shape group allows you to specify that the two same-mask color shapes must be on different color masks.
Arguments
|
Specifies the first group from the pair of groups of the shapes (of different colors) |
|
|
Specifies the second group from the pair of groups of the shapes (of different colors) |
Value Returned
Example
groupMC1 = dbCreateSameMaskGroup( cvId "MC1Group" )
dbAddObjectToGroup( groupMC1 rectM1 )
dbAddObjectToGroup( groupMC1 circleM3 )
groupMC2 = dbCreateSameMaskGroup( cvId "MC2Group" )
dbAddObjectToGroup( groupMC2 rectM2 )
groupDMC = dbCreateDiffMaskGroup( cvId "DMCGroup" groupMC1 groupMC2 )
groupMC3 = dbCreateSameMaskGroup( cvId "MC3Group" )
dbAddObjectToGroup( groupMC3 polygonM1 )
dbAddObjectToGroup( groupDMC groupMC3 )
Return to top