Class Guideline
- java.lang.Object
-
- androidx.constraintlayout.core.dsl.Helper
-
- androidx.constraintlayout.core.dsl.Guideline
-
- Direct Known Subclasses:
VGuideline
public abstract class Guideline extends Helper
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class androidx.constraintlayout.core.dsl.Helper
Helper.HelperType, Helper.Type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEnd()Get the end positionfloatgetPercent()Get the position in percentintgetStart()Get the start positionvoidsetEnd(int end)Set the end positionvoidsetPercent(float percent)Set the position in percentvoidsetStart(int start)Set the start position
-
-
-
Method Detail
-
getStart
public int getStart()
Get the start position- Returns:
- start position
-
setStart
public void setStart(int start)
Set the start position- Parameters:
start- the start position
-
getEnd
public int getEnd()
Get the end position- Returns:
- end position
-
setEnd
public void setEnd(int end)
Set the end position- Parameters:
end- the end position
-
getPercent
public float getPercent()
Get the position in percent- Returns:
- position in percent
-
setPercent
public void setPercent(float percent)
Set the position in percent- Parameters:
percent- the position in percent
-
-