Interface IDebugDraw

    Definition

    Namespace:
    Tizen.NUI.Physics2D.Chipmunk
    Assembly:
    Tizen.NUI.Physics2D.dll

    Interface to draw debug primitives (circle, point, segment).

    public interface IDebugDraw

    Methods

    View Source

    ColorForShape(Shape)

    Returns a color for a given shape. This gives you an opportunity to color shapes based on how they are used in your engine.

    Declaration
    DebugColor ColorForShape(Shape shape)
    Parameters
    Type Name Description
    Shape shape
    Returns
    Type Description
    DebugColor
    View Source

    DrawCircle(Vect, double, double, DebugColor, DebugColor)

    Draw stroked circle.

    Declaration
    void DrawCircle(Vect pos, double angle, double radius, DebugColor outlineColor, DebugColor fillColor)
    Parameters
    Type Name Description
    Vect pos
    double angle
    double radius
    DebugColor outlineColor
    DebugColor fillColor
    View Source

    DrawDot(double, Vect, DebugColor)

    Draws a dot.

    Declaration
    void DrawDot(double size, Vect pos, DebugColor color)
    Parameters
    Type Name Description
    double size
    Vect pos
    DebugColor color
    View Source

    DrawFatSegment(Vect, Vect, double, DebugColor, DebugColor)

    Draws a thick line segment.

    Declaration
    void DrawFatSegment(Vect a, Vect b, double radius, DebugColor outlineColor, DebugColor fillColor)
    Parameters
    Type Name Description
    Vect a
    Vect b
    double radius
    DebugColor outlineColor
    DebugColor fillColor
    View Source

    DrawPolygon(Vect[], double, DebugColor, DebugColor)

    Draws a convex polygon.

    Declaration
    void DrawPolygon(Vect[] vectors, double radius, DebugColor outlineColor, DebugColor fillColor)
    Parameters
    Type Name Description
    Vect[] vectors
    double radius
    DebugColor outlineColor
    DebugColor fillColor
    View Source

    DrawSegment(Vect, Vect, DebugColor)

    Draws a line segment.

    Declaration
    void DrawSegment(Vect a, Vect b, DebugColor color)
    Parameters
    Type Name Description
    Vect a
    Vect b
    DebugColor color

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX