static PointF CalcOffsetByAngleDistance(float angle, float distance);
CalcOffsetByAngleDistance computes blur/shadow offset based on an angle in radians and distance.
Parameters |
Description |
float angle |
The angle in radians to compute the offset. |
float distance |
The distance in pixels to compute the offset. |
The offset.