public class SpaceVal extends Object
Constructor and Description |
---|
SpaceVal(MinOptMax space,
boolean conditional,
boolean forcing,
int precedence)
Constructor for SpaceVal objects based on the full set of properties.
|
SpaceVal(SpaceProperty spaceprop,
PercentBaseContext context)
Constructor for SpaceVal objects based on Space objects.
|
Modifier and Type | Method and Description |
---|---|
int |
getPrecedence()
Returns the Precedence value.
|
MinOptMax |
getSpace()
Returns the Space value.
|
boolean |
isConditional()
Returns the Conditionality value.
|
boolean |
isForcing()
Returns the Forcing value.
|
static SpaceVal |
makeLetterSpacing(Property letterSpacing) |
static SpaceVal |
makeWordSpacing(Property wordSpacing,
SpaceVal letterSpacing,
Font fs) |
String |
toString() |
public SpaceVal(SpaceProperty spaceprop, PercentBaseContext context)
spaceprop
- Space object to usecontext
- Percentage evaluation contextpublic SpaceVal(MinOptMax space, boolean conditional, boolean forcing, int precedence)
space
- space to useconditional
- Conditionality valueforcing
- Forcing valueprecedence
- Precedence valuepublic static SpaceVal makeWordSpacing(Property wordSpacing, SpaceVal letterSpacing, Font fs)
wordSpacing
- propertyletterSpacing
- space valuefs
- fontpublic static SpaceVal makeLetterSpacing(Property letterSpacing)
letterSpacing
- propertypublic boolean isConditional()
public boolean isForcing()
public int getPrecedence()
public MinOptMax getSpace()
Copyright © 2025 Apache Software Foundation. All rights reserved.