back to Table of Contents


OffsetPolygon (function)

This function will take the given source polygon shape and recalculate it to be an offset of that polygon (either inset or outset) with the given border line distance. The given source polygon remains unchanged.


SYNTAX:

success% = OffsetPolygon% (srcPolyX%(), srcPolyY%(), offPolyX%(), offPolyY%(), displace#)

INPUTS:

srcPolyX%(), srcPolyY%() (INTEGER arrays)

offPolyX%(), offPolyY%() (INTEGER arrays)

displace# (DOUBLE)


RESULT:

success% (INTEGER)


back to Table of Contents