VectorPath


Leaf node of a Vector graphics tree. This specifies a path shape and parameters to color and style the shape itself

This is constructed as part of the result of ImageVector.Builder construction

Summary

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn

Public properties

Brush?

Specifies the color or gradient used to fill the path

Cmn
Float

Opacity to fill the path

Cmn
String

Name of the corresponding path

Cmn
List<PathNode>

Path information to render the shape of the path

Cmn
PathFillType

Rule to determine how the interior of the path is to be calculated

Cmn
Brush?

Specifies the color or gradient used to fill the stroke

Cmn
Float

Opacity to stroke the path

Cmn
StrokeCap

Specifies the linecap for a stroked path, either butt, round, or square.

Cmn
StrokeJoin

Specifies the linejoin for a stroked path, either miter, round or bevel.

Cmn
Float

Specifies the miter limit for a stroked path, the default is 4

Cmn
Float

Width of the line to stroke the path

Cmn
Float

Specifies the fraction of the path to trim from the end, in the range from 0 to 1.

Cmn
Float

Specifies the offset of the trim region (allows showed region to include the start and end), in the range from 0 to 1.

Cmn
Float

Specifies the fraction of the path to trim from the start, in the range from 0 to 1.

Cmn

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

fill

val fillBrush?

Specifies the color or gradient used to fill the path

fillAlpha

val fillAlphaFloat

Opacity to fill the path

name

val nameString

Name of the corresponding path

pathData

val pathDataList<PathNode>

Path information to render the shape of the path

pathFillType

val pathFillTypePathFillType

Rule to determine how the interior of the path is to be calculated

stroke

val strokeBrush?

Specifies the color or gradient used to fill the stroke

strokeAlpha

val strokeAlphaFloat

Opacity to stroke the path

strokeLineCap

val strokeLineCapStrokeCap

Specifies the linecap for a stroked path, either butt, round, or square. The default is butt.

strokeLineJoin

val strokeLineJoinStrokeJoin

Specifies the linejoin for a stroked path, either miter, round or bevel. The default is miter

strokeLineMiter

val strokeLineMiterFloat

Specifies the miter limit for a stroked path, the default is 4

strokeLineWidth

val strokeLineWidthFloat

Width of the line to stroke the path

trimPathEnd

val trimPathEndFloat

Specifies the fraction of the path to trim from the end, in the range from 0 to 1. The default is 1.

trimPathOffset

val trimPathOffsetFloat

Specifies the offset of the trim region (allows showed region to include the start and end), in the range from 0 to 1. The default is 0.

trimPathStart

val trimPathStartFloat

Specifies the fraction of the path to trim from the start, in the range from 0 to 1. The default is 0.