Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Drawing » DrawSegment
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Draws a segment on an image.
Syntax
C++
C#
void fil::DrawSegment ( fil::Image& ioImage, const fil::Segment2D& inSegment, ftl::Optional<const fil::CoordinateSystem2D&> inSegmentAlignment, const fil::Pixel& inColor, const fil::DrawingStyle& inDrawingStyle, const fil::MarkerType::Type inMarkerType, const float inMarkerSize )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
ioImage | Image& | |||
![]() |
inSegment | const Segment2D& | |||
![]() |
inSegmentAlignment | Optional<const CoordinateSystem2D&> | NIL | ||
![]() |
inColor | const Pixel& | |||
![]() |
inDrawingStyle | const DrawingStyle& | |||
![]() |
inMarkerType | const MarkerType::Type | Arrow | ||
![]() |
inMarkerSize | const float | 0.0 - ![]() |
5.0f |