ModeUtils Module

Functions to manipulate StyleParam Mode

Functions and values

Function or value Description

ModeUtils.showLines isShow cmode

Full Usage: ModeUtils.showLines isShow cmode

Parameters:
    isShow : bool
    cmode : Mode

Returns: Mode

Takes the current mode and adds the Lines flag

isShow : bool
cmode : Mode
Returns: Mode

ModeUtils.showMarker isShow cmode

Full Usage: ModeUtils.showMarker isShow cmode

Parameters:
    isShow : bool
    cmode : Mode

Returns: Mode

Takes the current mode and adds the Markers flag

isShow : bool
cmode : Mode
Returns: Mode

ModeUtils.showText isShow cmode

Full Usage: ModeUtils.showText isShow cmode

Parameters:
    isShow : bool
    cmode : Mode

Returns: Mode

Takes the current mode and adds the Text flag

isShow : bool
cmode : Mode
Returns: Mode