Struct map_gui::render::area::DrawArea [−][src]
pub struct DrawArea { pub id: AreaID, }
Fields
id: AreaID
Implementations
impl DrawArea
[src]
impl DrawArea
[src]pub fn new(
ctx: &EventCtx<'_>,
area: &Area,
cs: &ColorScheme,
all_areas: &mut GeomBatch
) -> DrawArea
[src]
ctx: &EventCtx<'_>,
area: &Area,
cs: &ColorScheme,
all_areas: &mut GeomBatch
) -> DrawArea
pub fn fill(area_type: AreaType, cs: &ColorScheme) -> Fill
[src]
Trait Implementations
impl Renderable for DrawArea
[src]
impl Renderable for DrawArea
[src]fn get_id(&self) -> ID
[src]
fn draw(&self, _: &mut GfxCtx<'_>, _: &dyn AppLike, _: &DrawOptions)
[src]
fn get_outline(&self, map: &Map) -> Polygon
[src]
fn get_zorder(&self) -> isize
[src]
fn contains_pt(&self, pt: Pt2D, map: &Map) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for DrawArea
impl Send for DrawArea
impl Sync for DrawArea
impl Unpin for DrawArea
impl UnwindSafe for DrawArea
Blanket Implementations
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,