Tk Library Source Code

Documentation
Login


[ Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]

NAME

canvas::gradient - Canvas with a gradient background

Table Of Contents

SYNOPSIS

package require Tcl 8.5
package require Tk 8.5
package require canvas::gradient ?0.2?

::canvas::gradient pathName ?options?...

DESCRIPTION

This package provides a command to set background gradients on canvases.

NOTE! This package reserves the canvas tag canvas::gradient for its use.

API

Options

Example

package require canvas::gradient
canvas .c
canvas::gradient .c -direction x -color1 yellow -color2 blue
pack .c -fill both -expand 1

Bugs, Ideas, Feedback

This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category canvas of the Tklib Trackers. Please also report any ideas for enhancements you may have for either package and/or documentation.

KEYWORDS

background, canvas, color gradient, gradients, image, widget background

COPYRIGHT

Copyright © 2013 Jarek Lewandowski, MaxJarek
Copyright © Origin http://wiki.tcl.tk/6100
Copyright © Origin http://wiki.tcl.tk/37242
Copyright © Origin http://wiki.tcl.tk/9079