[ 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.
texture |
a Texture or |
top |
top margin preserving its content |
right |
right margin preserving its content |
bottom |
bottom margin preserving its content |
left |
left margin preserving its content |
the newly created TextureFrame |