geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/FeatureTableStyles.java
public StyleRow getStyle(long featureId, GeometryType geometryType) {

        StyleRow styleRow = featureStyleExtension.getStyle(tableName,
                featureId, geometryType, false);

        if (styleRow == null) {

            // Table Style
            Styles styles = getCachedTableStyles();
            if (styles != null) {
                styleRow = styles.getStyle(geometryType);
            }

        }

        return styleRow;
    }
public StyleRow getStyle(long featureId, GeometryType geometryType) {

        StyleRow styleRow = featureStyleExtension.getStyle(tableName,
                featureId, geometryType, false);

        if (styleRow == null) {

            // Table Style
            Styles styles = getCachedTableStyles();
            if (styles != null) {
                styleRow = styles.getStyle(geometryType);
            }

        }

        return styleRow;
    }
Get the style of the feature, searching in order: feature geometry type
style, feature default style, table geometry type style, table default
style

@param featureId    feature id
@param geometryType geometry type
@return style row