3.1.1.5.3 Value Resources and Animation

A value resource contains a single-typed value. The following are the data types for which there exist corresponding value resources:

  • DOUBLE

  • COLOR

  • POINT

  • RECT

  • SIZE

  • MATRIX

  • COLORTRANSFORM

These resources can be referenced by other resources to represent the value of some property. For example, a solid color brush resource contains a color value, but can also reference a color resource, in which case the value of the color resource defines the color of the brush.

Value resources are most useful for animations. An update message for a value resource is often smaller than an update message for other resources.