TextureFrame


Description:

[ CCode ( has_construct_function = false , type = "ClutterActor*" ) ]
public TextureFrame (Texture texture, float top, float right, float bottom, float left)

A TextureFrame is a specialized texture that efficiently clones an area of the given texture while keeping preserving portions of the same texture.

A TextureFrame can be used to make a rectangular texture fit a given size without stretching its borders.

Parameters:

texture

a Texture or null

top

top margin preserving its content

right

right margin preserving its content

bottom

bottom margin preserving its content

left

left margin preserving its content

Returns:

the newly created TextureFrame




2022 vala-language.org