public abstract class Guideline extends Helper

Known direct subclasses

Summary

Public methods

int

Get the end position

float

Get the position in percent

int

Get the start position

void
setEnd(int end)

Set the end position

void
setPercent(float percent)

Set the position in percent

void
setStart(int start)

Set the start position

Inherited Constants

From androidx.constraintlayout.core.dsl.Helper
static final Map<Constraint.SideString>
static final Map<Helper.TypeString>

Public methods

getEnd

Added in 1.1.0
public int getEnd()

Get the end position

Returns
int

end position

getPercent

Added in 1.1.0
public float getPercent()

Get the position in percent

Returns
float

position in percent

getStart

Added in 1.1.0
public int getStart()

Get the start position

Returns
int

start position

setEnd

Added in 1.1.0
public void setEnd(int end)

Set the end position

Parameters
int end

the end position

setPercent

Added in 1.1.0
public void setPercent(float percent)

Set the position in percent

Parameters
float percent

the position in percent

setStart

Added in 1.1.0
public void setStart(int start)

Set the start position

Parameters
int start

the start position