gsk.path_measure
Module for [PathMeasure] class
class PathMeasure
Types 1
classPathMeasure : gobject.boxed.Boxed
gsk.path_measure.PathMeasure is an object that allows measurements on gsk.path.Paths such as determining the length of the path.
Many measuring operations require sampling the path length at intermediate points. Therefore, a gsk.path_measure.PathMeasure has a tolerance that determines what precision is required for such approximations.
A gsk.path_measure.PathMeasure struct is a reference counted struct and should be treated as opaque.
Methods
gsk.path_measure.PathMeasure newWithTolerance(gsk.path.Path path, float tolerance) static nothrowCreates a measure object for the given path and tolerance.gsk.path.Path getPath() nothrowReturns the path that the measure was created for. Returns: the path of selffloat getTolerance() nothrowReturns the tolerance that the measure was created with. Returns: the tolerance of selfConstructors
this(gsk.path.Path path)Creates a measure object for the given path with the default tolerance.