# TriangleF struct

Namespace: [Grasshopper2.Eto.Drawing](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.eto.drawing.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public readonly struct TriangleF
```

Represents a triangular slab with a thickness.

## Constructors

- [TriangleF](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.trianglef/ctor.md): Create a new triangle.

## Properties

- [ApexPath](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.trianglef/apexpath.md): Gets the graphics path for the apex face.
- [Base](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.trianglef/base.md): Gets the base point for the triangle (the middle of the bottom edge).
- [Bounds](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.trianglef/bounds.md): Gets the bounds for the entire triangle.
- [Corners](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.trianglef/corners.md): Gets the corner radii of the triangle.
- [EdgePath](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.trianglef/edgepath.md): Gets the graphics path for the triangle edge.
- [FormPath](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.trianglef/formpath.md): Gets the graphics path for the entire shape.
- [Size](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.trianglef/size.md): Gets the size of the triangle (also the length of the edges).
- [Thickness](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.trianglef/thickness.md): Gets the thickness of the disc.

## Methods

- [Contains](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.trianglef/contains.md): Test whether this triangle contains a given point. For this test, the corner radii are ignored.
- [Move](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.trianglef/move.md)
- [MoveTo](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.trianglef/moveto.md)
- [VertexAt](https://developer.rhino3d.com/api/gh2/type/grasshopper2.eto.drawing.trianglef/vertexat.md): Gets the vertex location.
