/// <summary> /// Draw this circle /// </summary> public bool Draw() { return(MtaClient.DxDrawCircle(Position.X, Position.Y, Radius, StartAngle, StopAngle, Color.Hex, CenterColor.Hex, Segments, Ratio, PostGUI)); }
public static bool DrawCircle(Vector2 position, float radius, Color color, Color centerColor, float startAngle = 0, float stopAngle = 360, int segments = 32, int ratio = 1, bool postGui = false) { return(MtaClient.DxDrawCircle(position.X, position.Y, radius, startAngle, stopAngle, color.Hex, centerColor.Hex, segments, ratio, postGui)); }
/// <summary> /// Draw this circle /// </summary> public bool Draw(RootElement source, OnRenderEventArgs eventArgs) { return(MtaClient.DxDrawCircle(Position.X, Position.Y, Radius, StartAngle, StopAngle, Color.Hex, CenterColor.Hex, Segments, Ratio, PostGUI)); }