Interface IColorGuide
Interface of setting color and the rendering priority.
public interface IColorGuide : IMakeXmlSource, IGetColorGuide
- Inherited Members
- Extension Methods
Methods
TryGetRgb(object, out vec3d_t)
Get rgb bystep.
bool TryGetRgb(object step, out vec3d_t rgb)
Parameters
Returns
- bool
True when this guide has a colour for
step; false when it has none
TryGetRgbWithPriority(object, out vec3d_t, out double)
Get color with the showing priority if the showing area overlapped by shrinking. Only effect on CubeTree.
bool TryGetRgbWithPriority(object step, out vec3d_t rgb, out double attachmentPriority)
Parameters
stepobjectstep
rgbvec3d_trgb, when the method returns true
attachmentPrioritydoublepriority. Larger one takes priority. Set on either answer.
Returns
- bool
True when this guide has a colour for
step; false when it has none and the caller applies its own default