If the HasHalfColorProperty is set then this property defines a color to be used in middle of the gradient.
The mid way is defined by the HalfDistance property.
RenderGradientRaw Class