public override void DrawOn2DControlTopDownView(MapObjectHoverData hoverData) { byte opacityByte = OpacityByte; if (this == hoverData?.MapObject) { opacityByte = MapUtilities.GetHoverOpacityByte(); } MapUtilities.DrawLinesOn2DControlTopDownView(GetVerticesTopDownView(), LineWidth, LineColor, opacityByte, UseRelativeCoordinates); }
public override void DrawOn2DControlTopDownView(MapObjectHoverData hoverData) { foreach (bool b in new List <bool>() { false, true }) { var data = GetData(b); MapUtilities.DrawLinesOn2DControlTopDownView(data.vertices, data.lineWidth, data.color, OpacityByte, UseRelativeCoordinates); } }
public override void DrawOn2DControlTopDownView(MapObjectHoverData hoverData) { MapUtilities.DrawLinesOn2DControlTopDownView(GetVerticesTopDownView(), LineWidth, LineColor, OpacityByte, UseRelativeCoordinates); }