Rectangle.with_color


Description:

[ CCode ( has_construct_function = false , type = "ClutterActor*" ) ]
[ Version ( deprecated = true , deprecated_since = "1.10" ) ]
public Rectangle.with_color (Color color)

Warning: Rectangle.with_color is deprecated since 1.10.

Creates a new Actor with a rectangular shape and of the given color.

Note:

Use Actor and set_background_color instead

Parameters:

color

a Color

Returns:

a new Rectangle




2022 vala-language.org