CanvasMap
Getting Started Tutorials 3D Reference

Class CMLayerBackgrounds extends CMLayer

CMLayerBackgrounds Class

Manages a list of layers that are backgrounds. One of the backgrounds is selected
and this is the only one that renders.


Copyright (C) 2020, Humboldt State University, Jim Graham

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see
.

Name Name CMTYPE_STRING Name that appears in the item and layer lists Open Open CMTYPE_BOOLEAN false true if the object is open in the editor tree Status Status CMTYPE_INDEXES CMSTATUS_OPTIONS, Default:CMSTATUS_SELECTABLE CMSTATUS_SELECTABLE How the item appears to the user and how the user can interact with it

Object Functions

Inherited From: CMLayer
ReturnsFunctionThrows
SetSelectedBackgroundIndex(BackgroundIndex)

Object Functions

SetSelectedBackgroundIndex(BackgroundIndex)

Sets which background will be selected for painting

Parameters:
    BackgroundIndex -