Constructors
Properties
UnitsPerPixel
#Gets the length (measured in underlying units) per logical pixel. I.e. |(Max-Min) / (Upper-Lower)|
Methods
Interpolate
#Perform a linear interpolation between two frames.
IsVisible
#Gets whether a specific parameter is within the frame limits.
Parameters:
| parameter (double) |
Limit
#Create a stretch which does not exceed the maximum zoom/pan levels in both directions.
Pan
#Perform a panning operation on this stretch.
Parameters:
| motion (float) | Amount of panning motion. |
Returns: Modified stretch.
ParameterAt
#Determines the parameter underneath the given linear pixel.
Parameters:
| pixel (float) | pixel coordinate. |
Returns: Parameter under pixel.
PixelAt
#Determines the pixel directly above the given parameter.
Parameters:
| parameter (double) | Parameter. |
Returns: Pixel at parameter..
WithDomain
#Modify the domain of this stretch.
WithLimits
#Modify the limits of this stretch.