示例#1
0
        public styleContainerShot getShotSet(appendRole role, appendType type = appendType.none)
        {
            String key = styleContainerShot.getCodeName(role, type, theme);

            if (!shots.ContainsKey(key))
            {
                styleContainerShot tmp = new styleContainerShot(role, type, theme);
                shots.Add(key, tmp);
            }
            return(shots[key]);
        }
示例#2
0
        public styleContainerShot Clone()
        {
            styleContainerShot output = new styleContainerShot();

            output.aligment          = aligment;
            output.doCallForMerge    = doCallForMerge;
            output.doSizedownContent = doSizedownContent;
            output.doWrapText        = doWrapText;
            output.minSize           = minSize;
            output.numberFormat      = numberFormat;
            output.role          = role;
            output.sizeAndBorder = new styleFourSide();
            sizeAndBorder.CopySideSettingsTo(output.sizeAndBorder);

            return(output);//.apply(sizeAndBorder.sget
        }