PortionFactory
PortionFactory class
Allows to create test portions
For COM comparibility
PortionFactory
Name | Description |
---|---|
PortionFactory() |
Returns: PortionFactory
createPortion
Name | Description |
---|---|
createPortion () | Creates an empty text portion. |
Returns: MathPortion, Portion
createPortion
Name | Description |
---|---|
createPortion (String) | Creates a text portion from specified string. |
Parameters:
Name | Type | Description |
---|---|---|
str | String | String. |
Returns: MathPortion, Portion
createPortion
Name | Description |
---|---|
createPortion (MathPortion) | Creates a portion with the using of a specified portion data. |
Parameters:
Name | Type | Description |
---|---|---|
portion | MathPortion | A portion to use. |
Returns: MathPortion, Portion
createPortion
Name | Description |
---|---|
createPortion (Portion) | Creates a portion with the using of a specified portion data. |
Parameters:
Name | Type | Description |
---|---|---|
portion | Portion | A portion to use. |
Returns: MathPortion, Portion