Set Line Color Properties

@param string $value
@param int $alpha
@param string $type
341536
public function setLineColorProperties($value, $alpha = 0, $type = self::EXCEL_COLOR_TYPE_STANDARD)
    {
        $this->activateObject()
            ->lineProperties['color'] = $this->setColorProperties(
                $value,
                $alpha,
                $type
            );
    }
11730
public static function printLine($text = '', $type = 'normal')
    {
        $colorList = array(
            'normal' => '0',
            'information' => '1;34',
            'success' => '1;32',
            'warning' => '1;33',
            'error' => '1;31'
        );
        $color = isset($colorList[$type]) ? $colorList[$type] : $colorList['normal'];
        $string = sprintf('%s[%sm%s%s[0m%s', chr(27), $color, $text, chr(27), PHP_EOL);
        echo($string);
    }
362814
public static void setLineStripRenderer(int type) {
		switch (type) {
		case DEFAULT_LINE_STRIP_RENDERER:
			setLineStripRenderer(new DefaultLineStripRenderer());
			return;
		case QUAD_BASED_LINE_STRIP_RENDERER:
			setLineStripRenderer(new QuadBasedLineStripRenderer());
			return;
		}
		
		throw new RuntimeException("Unknown line strip renderer type: "+type);
	}
1064044
function(value) {
		// Action is further copy-pasted, same as foreColor

		// "If value is not a valid CSS color, prepend "#" to it."
		//
		// "If value is still not a valid CSS color, or if it is currentColor,
		// abort these steps and do nothing."
		//
		// Cheap hack for testing, no attempt to be comprehensive.
		if (/^([0-9a-fA-F]{3}){1,2}$/.test(value)) {
			value = "#" + value;
		}
		if (!/^(rgba?|hsla?)\(.*\)$/.test(value)
		&& !parseSimpleColor(value)
		&& value.toLowerCase() != "transparent") {
			return;
		}

		// "Set the selection's value to value."
		setSelectionValue("hilitecolor", value);
	}
699469
public void setIntColor(int x, int y, int c0, int c1, int c2) {
        int alpha = (arrIntColor[((y * width + x))] & 0xFF000000) >>> 24;
        setIntColor(x, y, alpha, c0, c1, c2);
    }
963369
def alpha(self, value):
        """"""
        if value != self._alpha and \
           isinstance(value, int):
            self._alpha = value
559391
public function setValue(QtiDatatype $value = null)
    {
        if (Utils::isBaseTypeCompliant($this->getBaseType(), $value) && Utils::isCardinalityCompliant($this->getCardinality(), $value)) {
            $this->value = $value;
        } else {
            Utils::throwBaseTypeTypingError($this->baseType, $value);
        }
    }
998198
public static function setType($value, $type, $nullable = TRUE)
	{
		if (!$nullable || NULL !== $value) {
			settype($value, $type);
		}

		return $value;
	}
752652
public function setCtype(\google\protobuf\FieldOptions\CType $value = null)
    {
        $this->ctype = $value;
    }
1371161
public static void setAlpha(final Actor actor, final float alpha) {
        if (actor != null) {
            actor.getColor().a = alpha;
        }
    }
696186
public function setType(\AgentSIB\Diadoc\Api\Proto\Documents\ResolutionStatusType $value = null)
    {
        $this->Type = $value;
    }
1032299
protected function lib_alpha($value)
    {
        if (!is_null($color = $this->coerceColor($value))) {
            return isset($color[4]) ? $color[4] : 1;
        }
    }
773573
def color(self, value):
        

        if value is not None:
            assert type(value) is QColor, "'{0}' attribute: '{1}' type is not 'QColor'!".format("color", value)
        self.__color = value
        self.__set_style_sheet()
542490
public function setFillParameters($color, $alpha = 0, $type = self::EXCEL_COLOR_TYPE_ARGB)
    {
        $this->fillProperties = $this->setColorProperties($color, $alpha, $type);
    }
1168315
public function colorize($r, $g, $b, $alpha) {
		
		$this -> add(__FUNCTION__, func_get_args());
		return $this;
	}
18480
public function processEscaped($value, $type = CorePDO::PARAM_STR)
    {
        if (!in_array($type, [CorePDO::PARAM_STR, CorePDO::PARAM_LOB])) {
            return $this->process($value, $type);
        }

        return $this->stringEscaped($value);
    }
498374
public function setType(\google\protobuf\FieldDescriptorProto\Type $value = null)
    {
        $this->type = $value;
    }